[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 5 15:58:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org
--- Comment #7 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Created attachment 45162
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45162&action=edit
candidate patch
This patch fixes the additional problem. We have a (...) ctor in a base class,
reexported with an access declaration. We try to do_build_copy_constructor
from that, but then FUNCTION_FIRST_USER_PARM is NULL, and we attempt to
dereference it unconditionally, since copy ctors normally have at least one
user parm. Should this one even match as a copy ctor? Checking...
More information about the Gcc-bugs
mailing list