This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/46192] [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 21 Jan 2012 15:01:56 +0000
- Subject: [Bug ada/46192] [4.5/4.6/4.7 regression] wrong code for renaming of volatile packed array with address clause
- Auto-submitted: auto-generated
- References: <bug-46192-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-01-21 15:01:56 UTC ---
Author: ebotcazou
Date: Sat Jan 21 15:01:48 2012
New Revision: 183366
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183366
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_6-branch/gcc/testsuite/gnat.dg/renaming5.adb
- copied unchanged from r183365,
trunk/gcc/testsuite/gnat.dg/renaming5.adb
branches/gcc-4_6-branch/gcc/testsuite/gnat.dg/renaming5.ads
- copied unchanged from r183365,
trunk/gcc/testsuite/gnat.dg/renaming5.ads
Modified:
branches/gcc-4_6-branch/gcc/ada/ChangeLog
branches/gcc-4_6-branch/gcc/ada/gcc-interface/decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog