http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-21 15:04:31 UTC --- Author: ebotcazou Date: Sat Jan 21 15:04:25 2012 New Revision: 183367 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183367 Log: 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. Added: branches/gcc-4_5-branch/gcc/testsuite/gnat.dg/renaming5.adb - copied unchanged from r183365, trunk/gcc/testsuite/gnat.dg/renaming5.adb branches/gcc-4_5-branch/gcc/testsuite/gnat.dg/renaming5.ads - copied unchanged from r183366, trunk/gcc/testsuite/gnat.dg/renaming5.ads Modified: branches/gcc-4_5-branch/gcc/ada/ChangeLog branches/gcc-4_5-branch/gcc/ada/gcc-interface/decl.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog