diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-07-18 20:43:19 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-07-18 20:43:19 +0200 |
commit | 87713c6a507659921278d32b66f2e344b7c4d124 (patch) | |
tree | 14d226bd0827f7153340d65294bb9e529dcf5911 /gcc/tree-streamer-out.c | |
parent | 7a7f16ca45487c0a414c9a3d06423ab80d0f6a4f (diff) | |
download | gcc-87713c6a507659921278d32b66f2e344b7c4d124.zip gcc-87713c6a507659921278d32b66f2e344b7c4d124.tar.gz gcc-87713c6a507659921278d32b66f2e344b7c4d124.tar.bz2 |
re PR c++/71828 (ICE on valid C++11 code with constexpr __Complex int variable declaration: in operand_equal_p, at fold-const.c:2790)
PR c++/71828
* constexpr.c (cxx_eval_constant_expression) <case REALPART_EXPR>:
For lval don't use cxx_eval_unary_expression and instead recurse
and if needed rebuild the reference.
* g++.dg/cpp0x/constexpr-71828.C: New test.
From-SVN: r238442
Diffstat (limited to 'gcc/tree-streamer-out.c')
0 files changed, 0 insertions, 0 deletions