OSDN Git Service

PR ada/46192
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Jan 2012 14:58:33 +0000 (14:58 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 21 Jan 2012 14:58:33 +0000 (14:58 +0000)
commit465cee2520a22757a97cde39e90645d7a88e9b6f
tree2ffb84bf4d4a6e8715c3955d4a047ef199311ac7
parent7aa46d043d1ebe403b44370571a13bbafa170814
PR ada/46192
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
renaming, preserve the volatileness through the indirection, if any.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183365 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/renaming5.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/renaming5.ads [new file with mode: 0644]