[Bug c++/92015] [9 Regression] internal compiler error: in cxx_eval_array_reference, at cp/constexpr.c:2568
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 8 18:53:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92015
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 8 18:52:44 2019
New Revision: 277980
URL: https://gcc.gnu.org/viewcvs?rev=277980&root=gcc&view=rev
Log:
Backported from mainline
2019-10-21 Jakub Jelinek <jakub@redhat.com>
PR c++/92015
* constexpr.c (cxx_eval_component_reference, cxx_eval_bit_field_ref):
Use STRIP_ANY_LOCATION_WRAPPER on CONSTRUCTOR elts.
* g++.dg/cpp0x/constexpr-92015.C: New test.
Added:
branches/gcc-9-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-92015.C
Modified:
branches/gcc-9-branch/gcc/cp/ChangeLog
branches/gcc-9-branch/gcc/cp/constexpr.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list