From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BBA823858039; Tue, 9 Mar 2021 22:39:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBA823858039 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/99496] New: [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557 Date: Tue, 09 Mar 2021 22:39:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org 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: Tue, 09 Mar 2021 22:39:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99496 Bug ID: 99496 Summary: [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:ded6a1953dd7f43229c44e5d0d17c264338a3f4c, r11-7557 FAIL: g++.dg/modules/xtreme-header-3_c.C -std=3Dc++17 (internal compiler er= ror) FAIL: g++.dg/modules/xtreme-header-3_c.C -std=3Dc++17 (test for excess erro= rs) This was on a power 9 LE system. spawn -ignore SIGHUP /home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++5/../../xg++ -B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++5/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= c.C -fdiagnostics-plain-output -nostdinc++ -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc= ++-v3/include/powerpc64le-unknown-linux-gnu -I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/libstdc= ++-v3/include -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++ -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward -I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-lengt= h=3D0 -std=3Dc++17 -pedantic-errors -Wno-long-long -fmodules-ts -fno-module-lazy = -S -o xtreme-header-3_c.s^M /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= c.C:3:30: internal compiler error: same canonical type node for different types 'void' and 'std::__void_t'^M 0x106bb743 comptypes(tree_node*, tree_node*, int)^M /home/seurer/gcc/git/gcc-test/gcc/cp/typeck.c:1554^M 0x1059579f template_args_equal(tree_node*, tree_node*, bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:9207^M 0x1059508f comp_template_args(tree_node*, tree_node*, tree_node**, tree_nod= e**, bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:9254^M 0x105a643b spec_hasher::equal(spec_entry*, spec_entry*)^M /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:1725^M 0x1062e90b hash_table::verify(spec_entry* const&, unsigned int)^M /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:1032^M 0x1062f12f hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option)^M /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:968^M 0x105b168f add_mergeable_specialization(bool, spec_entry*, tree_node*, unsi= gned int)^M /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:30018^M 0x104c30bb trees_in::decl_value()^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:8068^M 0x104c4e27 trees_in::tree_node(bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:9174^M 0x104d199b module_state::read_cluster(unsigned int)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:14858^M 0x104d1e83 module_state::load_section(unsigned int, binding_slot*)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18125^M 0x104d354f module_state::read_language(bool)^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18054^M 0x104d39cb direct_import^M /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18916^M 0x10559c17 cp_parser_import_declaration^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:13858^M 0x1057fbeb cp_parser_translation_unit^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:4901^M 0x1057fbeb c_parse_file()^M /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:45231^M 0x1077d69b c_common_parse_file()^M /home/seurer/gcc/git/gcc-test/gcc/c-family/c-opts.c:1218^M Hmmm, on different systems I am seeing different failures. On a power 7 BE system I am seeing: FAIL: g++.dg/modules/xtreme-header-4_c.C -std=3Dc++2a (internal compiler er= ror) FAIL: g++.dg/modules/xtreme-header-4_c.C -std=3Dc++2a (test for excess erro= rs) FAIL: g++.dg/modules/xtreme-header-4_c.C -std=3Dc++2b (internal compiler er= ror) FAIL: g++.dg/modules/xtreme-header-4_c.C -std=3Dc++2b (test for excess erro= rs) commit ded6a1953dd7f43229c44e5d0d17c264338a3f4c Author: Nathan Sidwell Date: Mon Mar 8 10:01:21 2021 -0800 c++: Incorrect specialization hash table [PR 99285]=