aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-09-25 18:40:57 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-09-25 18:40:57 +0200
commit69deaf149a531fe55c058b87609f9f1c56ab6fc6 (patch)
treea81d24f799f5ff07f0de4364dc757092c1195464 /gcc/gimple.c
parente8753bb88e273b5fd1adba241edb78513aab6c39 (diff)
downloadgcc-69deaf149a531fe55c058b87609f9f1c56ab6fc6.zip
gcc-69deaf149a531fe55c058b87609f9f1c56ab6fc6.tar.gz
gcc-69deaf149a531fe55c058b87609f9f1c56ab6fc6.tar.bz2
re PR c++/87398 (g++ ICE on valid code: tree check: expected record_type or union_type or qual_union_type, have array_type in cxx_eval_constant_expression, at cp/constexpr.c:4820)
PR c++/87398 * constexpr.c (cxx_eval_constant_expression) <case OBJ_TYPE_REF>: Only look through COMPONENT_REFs with DECL_FIELD_IS_BASE FIELD_DECLs. * g++.dg/other/pr87398.C: New test. * g++.dg/cpp2a/constexpr-virtual10.C: New test. * g++.dg/cpp2a/constexpr-virtual11.C: New test. From-SVN: r264580
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions