[Bug c++/47749] Wrong function return value

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 15 09:27:00 GMT 2011


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.



More information about the Gcc-bugs mailing list