This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r206945 - in /branches/gcc-4_8-branch/gcc: c/Ch...
- From: mpolacek at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 22 Jan 2014 22:20:14 -0000
- Subject: r206945 - in /branches/gcc-4_8-branch/gcc: c/Ch...
Author: mpolacek
Date: Wed Jan 22 22:20:14 2014
New Revision: 206945
URL: http://gcc.gnu.org/viewcvs?rev=206945&root=gcc&view=rev
Log:
PR c/59891
c/
* c-typeck.c (build_conditional_expr): Call c_fully_fold instead
of remove_c_maybe_const_expr on op1 and op2.
testsuite/
* gcc.dg/torture/pr59891.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/torture/pr59891.c
Modified:
branches/gcc-4_8-branch/gcc/c/ChangeLog
branches/gcc-4_8-branch/gcc/c/c-typeck.c
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog