------- Comment #7 from wuwei08 at iscas dot ac dot cn 2010-04-19 12:36 ------- Thank you for your attention. There is no warning for it with '-Wstrict-overflow[=[123]]' option. (In reply to comment #5) > Subject: Re: [4.5/4.6 Regression] miscompile > semantically equivalent C source files using -O2 > > On Mon, 19 Apr 2010, steven at gcc dot gnu dot org wrote: > > > ------- Comment #4 from steven at gcc dot gnu dot org 2010-04-19 10:21 > > ------- > > Do we have a warning option for this? > > -Wstrict-overflow[=[123]], but I didn't check if it triggers. >
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43794