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.