diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-11-19 22:28:22 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-11-19 22:28:22 +0100 |
commit | fce6467b1ef93c162f955a10d9bdb2bfb2e12c1c (patch) | |
tree | b8a1da4576a3bcf5ef2182777180953d6af6f675 /libgo/go | |
parent | 8d5d90878ea9731301d3a1af32a444e4772e65e4 (diff) | |
download | gcc-fce6467b1ef93c162f955a10d9bdb2bfb2e12c1c.zip gcc-fce6467b1ef93c162f955a10d9bdb2bfb2e12c1c.tar.gz gcc-fce6467b1ef93c162f955a10d9bdb2bfb2e12c1c.tar.bz2 |
re PR c++/92414 (internal compiler error: tree check: expected constructor, have error_mark in cxx_eval_store_expression, at cp/constexpr.c:4009)
PR c++/92414
* constexpr.c (cxx_eval_outermost_constant_expr): If DECL_INITIAL
on object is erroneous, return t without trying to evaluate
a constexpr dtor.
* g++.dg/cpp2a/constexpr-dtor4.C: New test.
From-SVN: r278468
Diffstat (limited to 'libgo/go')
0 files changed, 0 insertions, 0 deletions