public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/52693] New: Wrong code with SRA and arrays
@ 2012-03-23 20:51 pinskia at gcc dot gnu.org
  2012-03-23 20:56 ` [Bug middle-end/52693] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-03-23 20:51 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: pinskia@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.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-04-18 13:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 20:51 [Bug middle-end/52693] New: Wrong code with SRA and arrays pinskia at gcc dot gnu.org
2012-03-23 20:56 ` [Bug middle-end/52693] " pinskia at gcc dot gnu.org
2012-03-23 21:18 ` pinskia at gcc dot gnu.org
2012-03-23 22:46 ` jamborm at gcc dot gnu.org
2012-03-23 22:49 ` jamborm at gcc dot gnu.org
2012-03-23 23:05 ` pinskia at gcc dot gnu.org
2012-03-24  0:52 ` jamborm at gcc dot gnu.org
2012-03-24  3:10 ` jamborm at gcc dot gnu.org
2012-03-27 18:40 ` jamborm at gcc dot gnu.org
2012-03-28 15:25 ` jamborm at gcc dot gnu.org
2012-03-28 18:21 ` jamborm at gcc dot gnu.org
2012-03-28 18:23 ` jamborm at gcc dot gnu.org
2012-03-28 19:04 ` jamborm at gcc dot gnu.org
2012-04-18 13:15 ` jamborm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).