[Bug c++/93286] [10 Regression] ICE: tree check: did not expect class ‘type’, have ‘type’ (reference_type) in convert_from_reference, at cp/cvt.c:550 since g:e0d91792eec490d1

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 15 18:07:39 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93286

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:cda6396a1b6e6bba2a3b0847931567c3458f2184

commit r11-423-gcda6396a1b6e6bba2a3b0847931567c3458f2184
Author: Jason Merrill <jason@redhat.com>
Date:   Fri May 15 14:06:48 2020 -0400

    PR c++/93286 - ICE with __is_constructible and variadic template.

    My GCC 10 patch for 93286 fixed the missing piece in tsubst's handling of
    lists vs. that in tsubst_copy_and_build, but it would be better to share
the
    code between them.

    gcc/cp/ChangeLog
    2020-05-15  Jason Merrill  <jason@redhat.com>

            PR c++/93286 - ICE with __is_constructible and variadic template.
            * pt.c (tsubst_tree_list): New.
            (tsubst, tsubst_copy_and_build): Use it.
            * decl2.c (is_late_template_attribute): Handle error_mark_node
args.


More information about the Gcc-bugs mailing list