decl.c (rest_of_type_decl_compilation_no_defer): New local function used to process...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 Apr 2008 10:22:23 +0000 (10:22 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 6 Apr 2008 10:22:23 +0000 (10:22 +0000)
commit1bde5bc4681ac3713d54d6511cfb6000be57114f
tree42de824735fa6830fb3e6d3b17e3783804163d36
parentd7d7db8b40e645ae15a530348b55d2b11a7d3135
decl.c (rest_of_type_decl_compilation_no_defer): New local function used to process all the variants of the specified type.

* decl.c (rest_of_type_decl_compilation_no_defer): New local function
used to process all the variants of the specified type.
(gnat_to_gnu_entity): Invoke rest_of_type_decl_compilation for enumeral
types too.  Call rest_of_type_decl_compilation_no_defer if undeferring.
(rest_of_type_decl_compilation): Likewise.
* utils.c (gnat_pushdecl): Propagate the name to all variants of type.

From-SVN: r133957
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/utils.c