lör 2011-11-19 klockan 00:23 -0500 skrev Gregory Maxwell:
This use to be more true, but there are multiple levels of
-Wstrict-aliasing and
I would be _highly_ surprised if the default gave a false alarm. I think you
can reliably say that if you get a warning at the default level then you do
have a language standards conformance problem, and that it actually changes
the generated code... but maybe you don't actually crash on any
particular system.
A note here is that we do have packages crashing on ARM due to strict
aliasing issues where the same code works fine on x86_64. presumablu due
to differences in register usage.
Regrads
Henrik