C++ PATCH to warn about inlines which fail to return a value

Jason Merrill jason@redhat.com
Wed Feb 13 11:22:00 GMT 2002


Applying some of the additional bits from the C version to C++.  Tested
i686-pc-linux-gnu.

2002-02-13  Jason Merrill  <jason@redhat.com>

	* decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
	(finish_function): Don't warn if current_function_returns_null.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1337 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020213/e8905b18/attachment.bin>


More information about the Gcc-patches mailing list