diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-21 14:42:26 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-21 14:42:26 +0000 |
commit | 7c2df6db9d123ffca895e8025864938799786aee (patch) | |
tree | 746a126e6805e769beb0a23355c6aa9772f179b2 /gcc/cp | |
parent | e694f1e75881d72f4b0968549d8a2e21e766d8e9 (diff) | |
download | gcc-7c2df6db9d123ffca895e8025864938799786aee.tar.gz |
PR c/53148
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187718 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions