]> gcc.gnu.org Git - gcc.git/commit
gigi.h (get_dummy_type): Declare.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 2 Apr 2011 08:44:43 +0000 (08:44 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 2 Apr 2011 08:44:43 +0000 (08:44 +0000)
commite3edbd56bae7748e9aee236cae35836edb9e35e8
tree3bd19211576bdf7f1b96652d584a9d5ccb0c08b3
parent65444786bebc03fd4f639801aecc8a25047d33f8
gigi.h (get_dummy_type): Declare.

* 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.

From-SVN: r171882
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/utils.c
This page took 0.050306 seconds and 5 git commands to generate.