From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B0E23874C1F; Sat, 6 Mar 2021 07:49:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B0E23874C1F From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99425] New: [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803 Date: Sat, 06 Mar 2021 07:49:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.lelyakin at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 07:49:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99425 Bug ID: 99425 Summary: [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- g++ -std=3Dc++20 -fmodules-ts -x c++-system-header future g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cuchar g++ -std=3Dc++20 -fmodules-ts -x c++-system-header system_error g++ -std=3Dc++20 -fmodules-ts -x c++-system-header mutex g++ -std=3Dc++20 -fmodules-ts -x c++-system-header list g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cctype g++ -std=3Dc++20 -fmodules-ts -x c++-system-header memory_resource g++ -std=3Dc++20 -fmodules-ts -x c++-system-header deque g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstdalign g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cfloat g++ -std=3Dc++20 -fmodules-ts -x c++-system-header forward_list g++ -std=3Dc++20 -fmodules-ts -x c++-system-header atomic g++ -std=3Dc++20 -fmodules-ts -x c++-system-header chrono g++ -std=3Dc++20 -fmodules-ts -x c++-system-header valarray g++ -std=3Dc++20 -fmodules-ts -x c++-system-header iostream g++ -std=3Dc++20 -fmodules-ts -x c++-system-header fstream g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstring g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstdbool g++ -std=3Dc++20 -fmodules-ts -x c++-system-header clocale g++ -std=3Dc++20 -fmodules-ts -x c++-system-header limits g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ccomplex g++ -std=3Dc++20 -fmodules-ts -x c++-system-header typeindex g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cxxabi.h g++ -std=3Dc++20 -fmodules-ts -x c++-system-header array g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ios g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstdint g++ -std=3Dc++20 -fmodules-ts -x c++-system-header streambuf g++ -std=3Dc++20 -fmodules-ts -x c++-system-header coroutine g++ -std=3Dc++20 -fmodules-ts -x c++-system-header string g++ -std=3Dc++20 -fmodules-ts -x c++-system-header sstream g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ratio g++ -std=3Dc++20 -fmodules-ts -x c++-system-header new g++ -std=3Dc++20 -fmodules-ts -x c++-system-header stop_token g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cfenv g++ -std=3Dc++20 -fmodules-ts -x c++-system-header queue g++ -std=3Dc++20 -fmodules-ts -x c++-system-header condition_variable ---- In file included from /usr/local/include/c++/11.0.1/condition_variable:41: /usr/local/include/c++/11.0.1/bits/unique_lock.h:88:63: internal compiler error: tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803 88 | const chrono::time_point<_Clock, _Duration>& __atime) | ^ 0x875966 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../gcc/gcc/tree.c:9814 0x71d27b tree_check(tree_node*, char const*, int, char const*, tree_code) ../../gcc/gcc/tree.h:3353 0x71d27b lookup_template_class_1 ../../gcc/gcc/cp/pt.c:9803 0xb21d1c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_nod= e*, int, int) ../../gcc/gcc/cp/pt.c:10237 0xb49afb finish_template_type(tree_node*, tree_node*, int) ../../gcc/gcc/cp/semantics.c:3498 0xabbd21 cp_parser_template_id ../../gcc/gcc/cp/parser.c:17444 0xabbf0b cp_parser_class_name ../../gcc/gcc/cp/parser.c:24671 0xab349a cp_parser_qualifying_entity ../../gcc/gcc/cp/parser.c:6994 0xab349a cp_parser_nested_name_specifier_opt ../../gcc/gcc/cp/parser.c:6676 0xac8bf4 cp_parser_simple_type_specifier ../../gcc/gcc/cp/parser.c:18837 0xaa798d cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:18495 0xaa8989 cp_parser_decl_specifier_seq ../../gcc/gcc/cp/parser.c:15041 0xac37ae cp_parser_parameter_declaration ../../gcc/gcc/cp/parser.c:23731 0xac4182 cp_parser_parameter_declaration_list ../../gcc/gcc/cp/parser.c:23548 0xac45d1 cp_parser_parameter_declaration_clause ../../gcc/gcc/cp/parser.c:23475 0xab5713 cp_parser_direct_declarator ../../gcc/gcc/cp/parser.c:22124 0xab5713 cp_parser_declarator ../../gcc/gcc/cp/parser.c:21987 0xacc958 cp_parser_init_declarator ../../gcc/gcc/cp/parser.c:21485 0xad378b cp_parser_single_declaration ../../gcc/gcc/cp/parser.c:30493 0xad38f6 cp_parser_template_declaration_after_parameters ../../gcc/gcc/cp/parser.c:30065 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. ---- g++ (GCC) 11.0.1 20210305 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=