OSDN Git Service

PR middle-end/55219
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2012 22:28:32 +0000 (22:28 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Nov 2012 22:28:32 +0000 (22:28 +0000)
commit730b393be6048708415cba3ad2087a0930c63184
treea1a8be667ed3aa91109205d517b3dbc8ac74efff
parenta8bcd425738f228d7856a7fb7e7ca5418b065e42
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/branches/gcc-4_7-branch@193313 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]