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

            Bug ID: 93713
           Summary: [10 Regression] ICE in equivalently_constrained, at
                    cp/constraint.cc:2949
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Changed between 20191006 and 20191013 :


$ cat z1.cc
template <class T> T bar ();
void bar () {}
using :: bar;


$ g++-9 -c z1.cc
$
$ g++-10-20200209 -c z1.cc
z1.cc:3:10: internal compiler error: in equivalently_constrained, at
cp/constraint.cc:2949
    3 | using :: bar;
      |          ^~~
0x65b2f8 equivalently_constrained(tree_node*, tree_node*)
        ../../gcc/cp/constraint.cc:2949
0x6d57a6 do_nonmember_using_decl
        ../../gcc/cp/name-lookup.c:3938
0x6ddbba finish_nonmember_using_decl(tree_node*, tree_node*)
        ../../gcc/cp/name-lookup.c:5141
0x7154ca cp_parser_using_declaration
        ../../gcc/cp/parser.c:19862
0x721ff9 cp_parser_declaration
        ../../gcc/cp/parser.c:13377
0x722771 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4731
0x722771 c_parse_file()
        ../../gcc/cp/parser.c:43711
0x7e52d0 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1186

Reply via email to