------- Comment #16 from rguenth at gcc dot gnu dot org 2008-05-03 14:13 ------- Err, simple. (-Wstrict-aliasing=0 works, but -Wno-strict-aliasing doesn't)
Index: opts.c =================================================================== --- opts.c (revision 134849) +++ opts.c (working copy) @@ -1865,6 +1865,8 @@ set_Wstrict_aliasing (int onoff) gcc_assert (onoff == 0 || onoff == 1); if (onoff != 0) warn_strict_aliasing = 3; + else + warn_strict_aliasing = 0; } /* The following routines are useful in setting all the flags that -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Keywords| |diagnostic Last reconfirmed|2008-05-03 14:06:17 |2008-05-03 14:13:53 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34973