* decl.c (gnat_to_gnu_entity) <object>: Process renamings
commitd6c61a8617946d0ebd394fc4c4e2c040e78df7aa
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2008 19:32:10 +0000 (14 19:32 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jan 2008 19:32:10 +0000 (14 19:32 +0000)
tree8cc6a97b41802b07368b171b5eddc2d051a9c406
parentc9d90c25b150d814720411b026a3a43fc92e38b1
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131531 138bc75d-0d04-0410-961f-82ee72b054a4
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]