This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52693] Wrong code with SRA and arrays
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Mar 2012 22:45:47 +0000
- Subject: [Bug middle-end/52693] Wrong code with SRA and arrays
- Auto-submitted: auto-generated
- References: <bug-52693-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52693
--- Comment #4 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-03-23 22:45:47 UTC ---
OTOH, I can confirm that the problematic variable is value, just not
SRAing that one makes the testcase to return 120. (In the same
function, SRA creates replacements also for stack and fifo variables
and that thus seems fine.)