------- Comment #20 from manu at gcc dot gnu dot org 2008-01-19 00:22 ------- There is a bug (PR32102) where -Wall after -Wstrict-overflow resets the latter to its default value. I think this is why you didn't get the warning. Removing -Wall or moving -Wstrict-overflow=5 after it should generate the warning.
Now, why the warnings from -Wsign-comparison appear and disappear? That I don't know but I don't have more free time to investigate this. I hope someone can look into it or, at least, find a reduced testcase. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-01-18 14:49:26 |2008-01-19 00:22:14 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34841