------- Comment #11 from manu at gcc dot gnu dot org 2008-01-21 20:54 ------- (In reply to comment #10) > This test case will give a warning with mainline with -Wstrict-overflow (aka > -Wstrict-overflow=2) but not with -Wall (which implies -Wstrict-overflow=1). >
I think that testcase is structurally equivalent to the one I have included in my proposed (and unreviewed, ;-) patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32102