projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4bb1f
)
(expand_expr): Set ignore for COND_EXPR with VOID_TYPE.
author
Richard Stallman
<rms@gnu.org>
Thu, 9 Sep 1993 13:49:54 +0000
(13:49 +0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 9 Sep 1993 13:49:54 +0000
(13:49 +0000)
From-SVN: r5293
gcc/expr.c
patch
|
blob
|
history
diff --git
a/gcc/expr.c
b/gcc/expr.c
index 0404c6b4a4cf1b5968c0e5e1f935b7076b13a96e..6666dfcc6428df0d6e752d48d35cbdbe30f36376 100644
(file)
--- a/
gcc/expr.c
+++ b/
gcc/expr.c
@@
-3365,7
+3365,8
@@
expand_expr (exp, target, tmode, modifier)
rtx original_target = target;
int ignore = (target == const0_rtx
|| ((code == NON_LVALUE_EXPR || code == NOP_EXPR
- || code == CONVERT_EXPR || code == REFERENCE_EXPR)
+ || code == CONVERT_EXPR || code == REFERENCE_EXPR
+ || code == COND_EXPR)
&& TREE_CODE (type) == VOID_TYPE));
tree context;