http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47749
--- Comment #2 from Davide Rizzo <elpa.rizzo at gmail dot com> 2011-02-15 09:27:24 UTC --- Yes, but the big problem is that the function return false also if you call it with flag=true. 2011/2/15 redi at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47749 > > Jonathan Wakely <redi at gcc dot gnu.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Severity|major |normal > > --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-02-15 > 09:14:10 UTC --- > Severity is not "major" > > Your program has undefined behaviour if you call the function with > flag=false > and use the return value. > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. >