r187736 - in /branches/gcc-4_6-branch/gcc: Chan...
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Mon May 21 20:12:00 GMT 2012
Author: jsm28
Date: Mon May 21 20:12:05 2012
New Revision: 187736
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187736
Log:
PR c/53418
* c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
from folded operands before wrapping another around the
conditional expression.
testsuite:
* gcc.c-torture/compile/pr53418-1.c,
gcc.c-torture/compile/pr53418-2.c: New tests.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/c-typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list