decl.c (gnat_to_gnu_entity, [...]): Don't early expand pointer initialization values.
authorOlivier Hainque <hainque@adacore.com>
Fri, 9 Dec 2005 17:16:11 +0000 (18:16 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 9 Dec 2005 17:16:11 +0000 (18:16 +0100)
commit9582a3cd55cfe9218f3fd8c80808d816c8774897
tree99bdb93c71e216bfc70be023ed85dfe6d64e32e5
parentbb4daba3460df28e1228e04f7d2a63712c709a7e
decl.c (gnat_to_gnu_entity, [...]): Don't early expand pointer initialization values.

2005-12-05  Olivier Hainque  <hainque@adacore.com>

* decl.c (gnat_to_gnu_entity, renaming object case): Don't early expand
pointer initialization values. Make a SAVE_EXPR instead. Add comments
about the use and expansion of SAVE_EXPRs in the various possible
renaming handling cases.
(components_to_record, compare_field_bitpos): Sort by DECL_UID, not by
abusing DECL_FCONTEXT.

From-SVN: r108286
gcc/ada/decl.c