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.