summaryrefslogtreecommitdiff
path: root/gcc/cp/semantics.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-22 23:22:53 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-22 23:22:53 +0000
commit852c026b8dde4dd1af018b2a6234a93f1f2c621e (patch)
tree777216bb8cea6bff0c7cd16e133fe0e125f5ccd2 /gcc/cp/semantics.c
parent83c8a8ea49d8c11080ce2ec6514ced0232ae8c50 (diff)
downloadgcc-852c026b8dde4dd1af018b2a6234a93f1f2c621e.tar.gz
* c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
* c-common.def: Adjust. * c-dump.c (c_dump_tree): Adjust. * c-semantics.c (genrtl_return_stmt): Adjust. * c-pretty-print.c (pp_c_statement): Adjust. * tree-inline.c (copy_body_r): Adjust. 2002-08-22 Jason Merrill <jason@redhat.com> * pt.c (tsubst_expr): RETURN_EXPR is now RETURN_STMT_EXPR. * semantics.c (nullify_returns_r): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r--gcc/cp/semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c
index 9efc7de8570..2737bbecca8 100644
--- a/gcc/cp/semantics.c
+++ b/gcc/cp/semantics.c
@@ -2506,7 +2506,7 @@ nullify_returns_r (tp, walk_subtrees, data)
if (TYPE_P (*tp))
*walk_subtrees = 0;
else if (TREE_CODE (*tp) == RETURN_STMT)
- RETURN_EXPR (*tp) = NULL_TREE;
+ RETURN_STMT_EXPR (*tp) = NULL_TREE;
else if (TREE_CODE (*tp) == CLEANUP_STMT
&& CLEANUP_DECL (*tp) == nrv)
CLEANUP_EH_ONLY (*tp) = 1;