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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-12-16
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
This tsubst_copy ICE started with r267108 but before that we had another ICE:

92948.C:13:21: internal compiler error: in cxx_eval_constant_expression, at
cp/constexpr.c:4594
   13 | using Bbb = Bbb_<AAA>;
      |                     ^
0x8982d3 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:4594
0x88b4a5 cxx_eval_call_expression
        ../../gcc/cp/constexpr.c:1508
0x8970c9 cxx_eval_constant_expression
        ../../gcc/cp/constexpr.c:4288
0x899db8 cxx_eval_outermost_constant_expr
        ../../gcc/cp/constexpr.c:5023
0x89a62d cxx_constant_value(tree_node*, tree_node*)
        ../../gcc/cp/constexpr.c:5144
0xa5be7a get_template_parm_object
        ../../gcc/cp/pt.c:6726
0xa5dab7 convert_nontype_argument
        ../../gcc/cp/pt.c:7187
0xa60ec2 convert_template_argument
        ../../gcc/cp/pt.c:8094
0xa62aa2 coerce_template_parms
        ../../gcc/cp/pt.c:8574
0xa631ac coerce_innermost_template_parms
        ../../gcc/cp/pt.c:8695
0xa65769 lookup_template_class_1
        ../../gcc/cp/pt.c:9392
0xa67db7 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        ../../gcc/cp/pt.c:9751
0xae8a49 finish_template_type(tree_node*, tree_node*, int)
        ../../gcc/cp/semantics.c:3257
0x9fabe3 cp_parser_template_id
        ../../gcc/cp/parser.c:16103
0xa0773f cp_parser_class_name
        ../../gcc/cp/parser.c:22660
0x9e74f8 cp_parser_qualifying_entity
        ../../gcc/cp/parser.c:6638
0x9e6598 cp_parser_nested_name_specifier_opt
        ../../gcc/cp/parser.c:6324
0x9fd271 cp_parser_simple_type_specifier
        ../../gcc/cp/parser.c:17442
0x9fc7bb cp_parser_type_specifier
        ../../gcc/cp/parser.c:17115
0xa05143 cp_parser_type_specifier_seq
        ../../gcc/cp/parser.c:21404

the second ICE started with Implement P0732R2, class types in non-type template
parameters. / r265789, before that the test was rejected.

So confirmed, though it may be a dup too.

Reply via email to