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: unassig...@gcc.gnu.org
        ReportedBy: m...@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.

Reply via email to