diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-10-03 16:21:20 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-10-03 16:21:20 +0200 |
commit | 75ab707c7532221207fb89647c555438166c6f89 (patch) | |
tree | a25c4a048d2a1b6eb4bf140ffce41e529962fb69 /gcc/reginfo.c | |
parent | 2352eadb81e329fad9adbead81db9203610aa19a (diff) | |
download | gcc-75ab707c7532221207fb89647c555438166c6f89.zip gcc-75ab707c7532221207fb89647c555438166c6f89.tar.gz gcc-75ab707c7532221207fb89647c555438166c6f89.tar.bz2 |
re PR c++/54777 ([C++11] Comma operator in constexpr environment can cause ICE)
PR c++/54777
* semantics.c (cxx_eval_constant_expression) <case COMPOUND_EXPR>: If
not ignoring the second operand, pass the original second operand
and not one with stripped nops to cxx_eval_constant_expression.
* g++.dg/cpp0x/constexpr-ref4.C: New test.
From-SVN: r192036
Diffstat (limited to 'gcc/reginfo.c')
0 files changed, 0 insertions, 0 deletions