------- Comment #10 from manu at gcc dot gnu dot org 2008-01-28 10:51 ------- (In reply to comment #8) > (In reply to comment #6) > > But shouldn't -Wno-strict-aliasing suppress the warning? > > Yes if you actually have -Wno-strict-aliasing after -Wall.
Andrew, note that this is not longer true in 4.2.3 and 4.3. -Wall won't override -Wno-strict-aliasing and it won't override -Wstrict-aliasing=2 (and the same for -Wstrict-overflow variants) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34973