[Bug c++/87861] [9 regression] ICE in output_constructor_regular_field, at varasm.c:5165
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 11 20:38:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87861
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Dec 11 20:37:53 2018
New Revision: 267032
URL: https://gcc.gnu.org/viewcvs?rev=267032&root=gcc&view=rev
Log:
PR c++/87861
* class.c (build_vtbl_initializer): For TARGET_VTABLE_USES_DESCRIPTORS
bump index for each added word.
* constexpr.c (find_array_ctor_elt): Add forward declaration.
(cxx_eval_call_expression): Handle TARGET_VTABLE_USES_DESCRIPTORS
vtable calls.
(cxx_eval_constant_expression) <case OBJ_TYPE_REF>: Divide token
by TARGET_VTABLE_USES_DESCRIPTORS if non-zero.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list