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: 20 Jan 2008 13:38: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 #8 from manu at gcc dot gnu dot org 2008-01-20 13:38 -------
(In reply to comment #2)
> I think that having -Wall clobber -Wstrict-overflow in this way is confusing.
> This isn't reversing the setting of the option, it's changing its level.
>
Ian, should the above testcase actually give a warning? I am testing revision
131656 and I cannot get a warning no matter what value of -Wstrict-overflow or
optimisation level I try.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32102