r171882 - in /trunk/gcc/ada: ChangeLog gcc-inte...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Sat Apr 2 08:44:00 GMT 2011
Author: ebotcazou
Date: Sat Apr 2 08:44:43 2011
New Revision: 171882
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171882
Log:
* gcc-interface/gigi.h (get_dummy_type): Declare.
(build_dummy_unc_pointer_types): Likewise.
(finish_fat_pointer_type): Likewise.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If a dummy
fat pointer type has been built, complete it in place.
<E_Access_Type>: Call build_dummy_unc_pointer_types to build dummy fat
and thin pointers. Remove useless variable.
(finish_fat_pointer_type): Make global and move to...
* gcc-interface/utils.c (finish_fat_pointer_type): ...here.
(get_dummy_type): New function.
(build_dummy_unc_pointer_types): Likewise.
(gnat_pushdecl): Propage the name to the anonymous variants only.
(update_pointer_to): Only adjust the pointer types in the unconstrained
array case.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/decl.c
trunk/gcc/ada/gcc-interface/gigi.h
trunk/gcc/ada/gcc-interface/utils.c
More information about the Gcc-cvs
mailing list