[Bug c/30502] compiler inlines slightly invalid function without warning

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 18 19:25:00 GMT 2007



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-01-18 19:25 -------
(In reply to comment #2)
> 
> With '-fno-inline' compiler generates very useful warning - the return 
> stmt has been missing.
> 
> This is my point.

Right and this was fixed in 4.0.0 and above as shown by the warnings output I
gave.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30502



More information about the Gcc-bugs mailing list