diff options
author | Alexandre Petit-Bianco <apbianco@cygnus.com> | 1998-07-23 05:09:39 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-07-23 05:09:39 -0700 |
commit | 6e7f84a73211f0bfbd98ca166268c95befb25f73 (patch) | |
tree | 7c494a98e54ddfe70b7af3bfeb13c038a97913f3 /gcc/expr.c | |
parent | 71208e03a989e5b54a6dbb9ec88bad86897bf49e (diff) | |
download | gcc-6e7f84a73211f0bfbd98ca166268c95befb25f73.zip gcc-6e7f84a73211f0bfbd98ca166268c95befb25f73.tar.gz gcc-6e7f84a73211f0bfbd98ca166268c95befb25f73.tar.bz2 |
expr.c (expand_expr): Expand RETURN_EXPR.
8
* expr.c (expand_expr): Expand RETURN_EXPR.
From-SVN: r21347
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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); |