decl.c (gnat_to_gnu_entity): Associate an external VAR_DECL to a CONST_DECL we make...
authorOlivier Hainque <hainque@adacore.com>
Fri, 6 Apr 2007 09:18:48 +0000 (11:18 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 6 Apr 2007 09:18:48 +0000 (11:18 +0200)
commit9dac0a42ea1bb2816ceac970652ddba6c88cd0cf
tree5165255698abe82cac72b8ba01707f0b335e4311
parentb150b431d0a9b4dc0c3302b4257ecc209c33fba1
decl.c (gnat_to_gnu_entity): Associate an external VAR_DECL to a CONST_DECL we make for a public constant...

2007-04-06  Olivier Hainque  <hainque@adacore.com>
    Eric Botcazou <botcazou@adacore.com>

* decl.c (gnat_to_gnu_entity) <E_Constant>: Associate an external
VAR_DECL to a CONST_DECL we make for a public constant when we know the
corresponding definition has created the so made visible variable.
Handle anonymous access to protected subprogram.
(gnat_to_gnu_entity) <E_Variable>: Do not make the underlying type of an
object with an address clause volatile.  Re-enable original fix.
<E_Subprogram_Type>: Set TYPE_REF_CAN_ALIAS_ALL on the reference type
too.
(gnat_to_gnu_entity) <E_Class_Wide_Type>: Retrieve the TYPE_DECL
associated with either the Equivalent or Root type, instead of the
naked type node.
(gnat_to_gnu_entity): Manually mark the top of the DECL_FIELD_OFFSET
subtree for every field of a global record type.
(gnat_to_gnu_entity) <E_Record_Subtype>: If the subtype has
discriminants, invoke again variable_size on its newly computed sizes.

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