* gcc-interface/gigi.h (finalize_from_with_types): Adjust comment.
commitfb6c10e565a875cc56dcd44a9b9e8c954bad79a4
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Mar 2011 09:55:04 +0000 (26 09:55 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Mar 2011 09:55:04 +0000 (26 09:55 +0000)
tree5cbb5738edf0877a3943e13174915c10a0e0e71c
parent6a93a17773d0bc14c84b6d9c1831df0e38c363e2
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171552 138bc75d-0d04-0410-961f-82ee72b054a4
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]