c++/3914: gcc 3.0 does not complain about missing return statements in fn's
aoliva@gcc.gnu.org
aoliva@gcc.gnu.org
Thu Aug 2 10:27:00 GMT 2001
Synopsis: gcc 3.0 does not complain about missing return statements in fn's
State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Thu Aug 2 10:27:01 2001
State-Changed-Why:
The code is not illegal, it just invokes undefined behavior. Use -W and GCC will warn about it.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3914&database=gcc
More information about the Gcc-prs
mailing list