[C++] PATCH to build_throw for 11725

Jason Merrill jason@redhat.com
Sun Jan 18 15:41:00 GMT 2004


As Andrew suggested in the PR.  Tested x86_64-linux-gnu, applied to trunk
and 3.4.  Testcase in g++.dg/warn/Wreturn-type-1.C.

2004-01-16  Jason Merrill  <jason@redhat.com>

	PR c++/11725
	* except.c (build_throw): In a template, set
	current_function_returns_abnormally.

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


More information about the Gcc-patches mailing list