This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/32102] -Wall stomps on -Wstrict-overflow



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]