re PR middle-end/55219 (memory explosion on nested conditional expressions)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 7 Nov 2012 22:26:02 +0000 (22:26 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 7 Nov 2012 22:26:02 +0000 (22:26 +0000)
commitdd64a6f7c8165c204b3cc2f353562df0b6bf335d
tree74bd2163ff68dcf5d867b4f057ef2ecff1bc162a
parent05bb5b0630a9460d8888c1be83298f27d93e462c
re PR middle-end/55219 (memory explosion on nested conditional expressions)

PR middle-end/55219
* fold-const.c (fold_binary_op_with_conditional_arg): Do not fold if
the argument is itself a conditional expression.

From-SVN: r193312
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20121107-1.c [new file with mode: 0644]