Commit 6e7f84a7 by Alexandre Petit-Bianco Committed by Per Bothner

expr.c (expand_expr): Expand RETURN_EXPR.

8
	* expr.c (expand_expr): Expand RETURN_EXPR.

From-SVN: r21347
parent 71208e03
......@@ -7543,6 +7543,13 @@ expand_expr (exp, target, tmode, modifier)
return temp;
}
case RETURN_EXPR:
if (!TREE_OPERAND (exp, 0))
expand_null_return ();
else
expand_return (TREE_OPERAND (exp, 0));
return const0_rtx;
case PREINCREMENT_EXPR:
case PREDECREMENT_EXPR:
return expand_increment (exp, 0, ignore);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment