decl.c (gnat_to_gnu_entity): Process renamings before converting the expression to...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 14 Jan 2008 19:32:10 +0000 (19:32 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 14 Jan 2008 19:32:10 +0000 (19:32 +0000)
commit052cec9b0e00300eb75e6712cb82ad1e9d4ba3b4
tree8cc6a97b41802b07368b171b5eddc2d051a9c406
parent8103eebfb73229a018f22718665864730e43c58f
decl.c (gnat_to_gnu_entity): Process renamings before converting the expression to the type of the object.

* decl.c (gnat_to_gnu_entity) <object>: Process renamings
before converting the expression to the type of the object.
* trans.c (maybe_stabilize_reference) <CONSTRUCTOR>: New case.
Stabilize constructors for special wrapping types.

From-SVN: r131531
gcc/ada/ChangeLog
gcc/ada/decl.c
gcc/ada/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/rep_clause1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/rep_clause2.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/rep_clause2.ads [new file with mode: 0644]