http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52693

             Bug #: 52693
           Summary: Wrong code with SRA and arrays
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: pins...@gcc.gnu.org


With the attach testcase, SRA does the following replacement which seems wrong:
  value = stack.l[D.4470_102];
With
  value_77 = MEM[(struct exprList_s *)&stack];
  value$u_620 = MEM[(struct exprList_s *)&stack].u;

At -O1.

Reply via email to