[Bug c++/99063] [9/10/11 Regression] ICE in prep_operand, at cp/call.c:5842

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 17:58:39 GMT 2021


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
   Last reconfirmed|                            |2021-02-10
   Target Milestone|---                         |9.4

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r247842:

commit 0ea37ae178ba156ec9f88134acc4bb13665c56ef
Author: Jason Merrill <jason@redhat.com>
Date:   Wed May 10 11:56:09 2017 -0400

    PR c++/79549 - C++17 ICE with non-type auto template parameter pack

            * pt.c (convert_template_argument): Just return an argument pack.
            (coerce_template_parameter_pack, template_parm_to_arg)
            (extract_fnparm_pack, make_argument_pack, tsubst_template_args)
            (tsubst_decl, tsubst, type_unification_real, unify_pack_expansion):
            Don't set the type of a NONTYPE_ARGUMENT_PACK.
            * parser.c (make_char_string_pack, make_string_pack): Likewise.


More information about the Gcc-bugs mailing list