]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
PR c/59891
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jan 2014 22:15:12 +0000 (22:15 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jan 2014 22:15:12 +0000 (22:15 +0000)
commitec4310423e244c7b3ac7c17991ee09d0756102aa
treef50ece7b1dc98d9b657dab87ab3eca6a8823f625
parent90b77b23476fe05cdaee14b0e63f82ee4e79718a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206944 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr59891.c [new file with mode: 0644]