diff options
author | Craig Burley <burley@gnu.ai.mit.edu> | 1998-03-28 00:38:46 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-03-27 17:38:46 -0700 |
commit | 600a4ce72b4de654f689e02f89724c30a54ffa61 (patch) | |
tree | 6074ba2cb1eea3308b04f8a3c5922f1e6f9592dc /gcc/stmt.c | |
parent | f861f67479533a105f36dd7c82eee9f46bde36ce (diff) | |
download | gcc-600a4ce72b4de654f689e02f89724c30a54ffa61.zip gcc-600a4ce72b4de654f689e02f89724c30a54ffa61.tar.gz gcc-600a4ce72b4de654f689e02f89724c30a54ffa61.tar.bz2 |
stmt.c (expand_expr_stmt): Must generate code for statements within an expression (gcc's `({ ...
* stmt.c (expand_expr_stmt): Must generate code for
statements within an expression (gcc's `({ ... )}')
even if -fsyntax-only.
Patch from Craig.
From-SVN: r18865
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1536,7 +1536,7 @@ expand_expr_stmt (exp) exp = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (exp)), exp); last_expr_type = TREE_TYPE (exp); - if (! flag_syntax_only) + if (! flag_syntax_only || expr_stmts_for_value) last_expr_value = expand_expr (exp, (expr_stmts_for_value ? NULL_RTX : const0_rtx), |