* stmt.c (expand_return): If an attempt is made to return the
commit23146bd9b804d5bf4fcec6980337d0da67740649
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Feb 2001 18:36:53 +0000 (20 18:36 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Feb 2001 18:36:53 +0000 (20 18:36 +0000)
tree9a96ee95bbca89183e0a7afe3df9e1ebf29d96b2
parent6d5dbf3a3da173d37a873b2a7cd363481b7c914f
* stmt.c (expand_return): If an attempt is made to return the
error_mar_node, treat the return like a return without a value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_0-branch@39926 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/stmt.c
gcc/testsuite/g++.old-deja/g++.other/return1.C