[Bug tree-optimization/52705] Loop optimization failure with -O2 versus -O1

veiokej at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 28 05:19:00 GMT 2012


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

--- Comment #3 from Veiokej <veiokej at gmail dot com> 2012-03-28 03:58:24 UTC ---
-fno-strict-aliasing does indeed fix the problem, so I'm compelled to believe
your assertion that the code contains an aliasing violation.

For the record, would you mind simply indicating which line(s)?

All the data structures are orthogonal, so I don't see how aliasing could be a
problem. (Obviously casting creates aliases of different types to the same
memory structure. But casting is done every day without problems. So I've
probably misunderstood your point.)

Thanks for the input.



More information about the Gcc-bugs mailing list