------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-20 23:47 ------- -O2 enables strict aliasing (type based aliasing). You need to use -fno-strict-aliasing to disable that.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39255
pinskia at gcc dot gnu dot org Fri, 20 Feb 2009 15:48:03 -0800
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-20 23:47 ------- -O2 enables strict aliasing (type based aliasing). You need to use -fno-strict-aliasing to disable that.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39255