This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]