This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32102] -Wall stomps on -Wstrict-overflow
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2008 20:54:29 -0000
- Subject: [Bug c/32102] -Wall stomps on -Wstrict-overflow
- References: <bug-32102-11211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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