projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cd7239
)
(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 19 Mar 1996 00:42:40 +0000
(19:42 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 19 Mar 1996 00:42:40 +0000
(19:42 -0500)
From-SVN: r11558
gcc/c-typeck.c
patch
|
blob
|
history
diff --git
a/gcc/c-typeck.c
b/gcc/c-typeck.c
index 3c4f26847e20fefe5d24c0128b2c21d1d0e09e91..d17a61df5a54afd9943bc5249bb1bbcbca2ca519 100644
(file)
--- a/
gcc/c-typeck.c
+++ b/
gcc/c-typeck.c
@@
-3349,7
+3349,7
@@
build_conditional_expr (ifexp, op1, op2)
{
if (pedantic)
pedwarn ("ANSI C forbids omitting the middle term of a ?: expression");
- ifexp = op1 = save_expr (ifexp);
+ ifexp = o
rig_op1 = o
p1 = save_expr (ifexp);
}
ifexp = truthvalue_conversion (default_conversion (ifexp));