------- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-17 12:19 ------- -fno-ivopts also fixes this. The unrolling happening on the RTL level for the loop in foo() somehow is broken.
We end up with (gdb) p a $1 = {0, 1, 4, 2, 10, 12, 24, 44, 72, 18, 20, 22, 24, 26, 28, 50} (gdb) p ref $2 = {0, 1, 4, 2, 10, 12, 24, 44, 72, 136, 232, 416, 736, 1296, 2304, 2032} -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-04-17 12:19:28 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39794