gigi.h (finalize_from_with_types): Adjust comment.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 26 Mar 2011 09:55:04 +0000 (09:55 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 26 Mar 2011 09:55:04 +0000 (09:55 +0000)
commit6ddf9843628ab87261d2ec8dc3d14ac057e76014
tree5cbb5738edf0877a3943e13174915c10a0e0e71c
parent5daed84a544a8e2bd3017ad77975abd9831953b7
gigi.h (finalize_from_with_types): Adjust comment.

* gcc-interface/gigi.h (finalize_from_with_types): Adjust comment.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Defer
unconditionally to the end of the unit when the designated type is
limited_with'ed.
<all>: Rename local variable.  Attempt to un-defer types only and do it
for limited_with'ed types as well.
(finalize_from_with_types): Adjust comment.  Rename variable and tidy.
* gcc-interface/trans.c (Compilation_Unit_to_gnu): Use GNAT_UNIT
consistently and remove redundant call to finalize_from_with_types.

From-SVN: r171552
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/limited_with2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with2.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with2_pkg1.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/limited_with2_pkg2.ads [new file with mode: 0644]