[Bug tree-optimization/50472] Volatile qualification in data is not enough to avoid optimization over pointer to data
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 12 02:33:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50472
--- Comment #8 from amker at gcc dot gnu.org 2012-06-12 02:33:29 UTC ---
Author: amker
Date: Tue Jun 12 02:33:23 2012
New Revision: 188414
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188414
Log:
Backport r179200 from GCC-4.6 branch
2011-09-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50472
* tree-ssa-ccp.c (fold_const_aggregate_ref): Do not fold
volatile references.
PR tree-optimization/50472
* gcc.dg/torture/pr50472.c: New testcase.
Added:
branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.dg/torture/pr50472.c
Modified:
branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
branches/ARM/embedded-4_6-branch/gcc/testsuite/ChangeLog.arm
branches/ARM/embedded-4_6-branch/gcc/tree-ssa-ccp.c
More information about the Gcc-bugs
mailing list