PR middle-end/55219
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2012 22:26:02 +0000 (22:26 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2012 22:26:02 +0000 (22:26 +0000)
commit10e53de95b3721d6d717751999aac778b8c7227d
tree74bd2163ff68dcf5d867b4f057ef2ecff1bc162a
parentdeeb3fb2424f8dea1852a790af3c51f747b39662
PR middle-end/55219
* fold-const.c (fold_binary_op_with_conditional_arg): Do not fold if
the argument is itself a conditional expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193312 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20121107-1.c [new file with mode: 0644]