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

            Bug ID: 92206
           Summary: [10 Regression] ICE in strip_typedefs, at
                    cp/tree.c:1682 since r277281
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

I see the ICE in Firefox:

$ g++ unified.ii -c -Wno-invalid-offsetof -fsyntax-only
In file included from
/home/abuild/rpmbuild/BUILD/obj/js/src/gc/Unified_cpp_js_src_gc0.cpp:29:
/home/abuild/rpmbuild/BUILD/firefox-69.0.3/js/src/gc/GC.cpp:6518:46: internal
compiler error: in strip_typedefs, at cp/tree.c:1682
0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int)
        ../../gcc/cp/tree.c:1682
0x5c5ba0 strip_typedefs(tree_node*, bool*, unsigned int)
        ../../gcc/cp/tree.c:1462
0x6f4311 canonicalize_type_argument
        ../../gcc/cp/pt.c:7928
0x6f4311 canonicalize_type_argument
        ../../gcc/cp/pt.c:7923
0x70734d coerce_template_parms
        ../../gcc/cp/pt.c:8771
0x71842a lookup_template_class_1
        ../../gcc/cp/pt.c:9608
0x71842a lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        ../../gcc/cp/pt.c:9978
0x730e0d finish_template_type(tree_node*, tree_node*, int)
        ../../gcc/cp/semantics.c:3396
0x6e28fd cp_parser_template_id
        ../../gcc/cp/parser.c:16545
0x6e2af7 cp_parser_class_name
        ../../gcc/cp/parser.c:23416
0x6df890 cp_parser_qualifying_entity
        ../../gcc/cp/parser.c:6724
0x6df890 cp_parser_nested_name_specifier_opt
        ../../gcc/cp/parser.c:6408
0x6dcce2 cp_parser_simple_type_specifier
        ../../gcc/cp/parser.c:17925
0x6cdc58 cp_parser_type_specifier
        ../../gcc/cp/parser.c:17583
0x6e13c8 cp_parser_type_specifier_seq
        ../../gcc/cp/parser.c:22123
0x6da354 cp_parser_type_id_1
        ../../gcc/cp/parser.c:21952
0x6dc803 cp_parser_template_type_arg
        ../../gcc/cp/parser.c:22043
0x6e1572 cp_parser_template_argument
        ../../gcc/cp/parser.c:16984
0x6e1572 cp_parser_template_argument_list
        ../../gcc/cp/parser.c:16895
0x6e1572 cp_parser_enclosed_template_argument_list
        ../../gcc/cp/parser.c:29278

I'm reducing the test-case now..

Reply via email to