http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55219
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-07 22:28:36 UTC --- Author: ebotcazou Date: Wed Nov 7 22:28:32 2012 New Revision: 193313 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193313 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_7-branch/gcc/testsuite/gcc.c-torture/compile/20121107-1.c - copied unchanged from r193312, trunk/gcc/testsuite/gcc.c-torture/compile/20121107-1.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/fold-const.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog