decl.c (gnat_to_gnu_entity): Revert previous change that creates a special VAR_DECL...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 27 Feb 2012 10:27:15 +0000 (10:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 27 Feb 2012 10:27:15 +0000 (10:27 +0000)
commit184d436af490f910a2cbed4b6f40a4b9bc6b76c2
treee1fae0ee4051283969b2c263b8aa570e6a25ef3a
parent2c2a780f7f5a7ba054cf1ba5b1998b031c1d9535
decl.c (gnat_to_gnu_entity): Revert previous change that creates a special VAR_DECL for debugging purposes.

* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Revert previous
change that creates a special VAR_DECL for debugging purposes.  For an
aliased object with an unconstrained nominal subtype, make its type a
thin reference to the underlying object.
* gcc-interface/utils2.c (build_unary_op) <INDIRECT_REF>: Deal with
expressions built for the initialization of above objects.

From-SVN: r184593
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils2.c