http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219
--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-07 22:37:10 UTC --- Author: ebotcazou Date: Wed Nov 7 22:37:01 2012 New Revision: 193315 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193315 Log: PR middle-end/55219 * fold-const.c (fold_binary_op_with_conditional_arg): Do not fold if the argument is itself a conditional expression. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/20121107-1.c - copied unchanged from r193313, trunk/gcc/testsuite/gcc.c-torture/compile/20121107-1.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/fold-const.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog