summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 866d6251a88..98bbae29175 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -442,10 +442,10 @@ copy_body_r (tp, walk_subtrees, data)
assignment into the equivalent of the original
RESULT_DECL. */
#ifndef INLINER_FOR_JAVA
- if (RETURN_EXPR (return_stmt))
+ if (RETURN_STMT_EXPR (return_stmt))
{
*tp = build_stmt (EXPR_STMT,
- RETURN_EXPR (return_stmt));
+ RETURN_STMT_EXPR (return_stmt));
STMT_IS_FULL_EXPR_P (*tp) = 1;
/* And then jump to the end of the function. */
TREE_CHAIN (*tp) = goto_stmt;