[Bug testsuite/48506] New: ssa-ccp-17.c = g.i fails
mrs at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 7 21:48:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48506
Summary: ssa-ccp-17.c = g.i fails
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: mrs@gcc.gnu.org
I'm seeing a new failure in:
FAIL: gcc.dg/tree-ssa/ssa-ccp-17.c scan-tree-dump ccp1 "= g.i;"
the optimizer is generating return 0; for code like:
const int i = 0;
int foo() { return i; }
but we are scanning the output looking for = g.i;, which it can't find.
You caneither put volatile on the data, your delete the check.
More information about the Gcc-bugs
mailing list