stmt.c (expand_return): If an attempt is made to return the error_mar_node...
authorMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Feb 2001 18:22:32 +0000 (18:22 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 20 Feb 2001 18:22:32 +0000 (18:22 +0000)
commitc9407e4c671efb42c76dbb80a13ecf0c5dc09f05
tree40949ebadccd8eec61e63b81100bb256e38ed590
parent0cbd39801459319899e08e930f5257c2ced61ddb
stmt.c (expand_return): If an attempt is made to return the error_mar_node...

* stmt.c (expand_return): If an attempt is made to return the
error_mar_node, treat the return like a return without a value.

From-SVN: r39924
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/stmt.c
gcc/testsuite/g++.old-deja/g++.other/return1.C [new file with mode: 0644]