------- Comment #2 from rguenth at gcc dot gnu dot org 2010-08-18 16:10 ------- At -O2 -Wstrict-aliasing=1 warns for me. I can't reproduce warnings with -O0 or with -O1 because at those levels strict-aliasing isn't enabled.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45320