From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3704239540E3; Thu, 11 Mar 2021 22:46:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3704239540E3 From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557 Date: Thu, 11 Mar 2021 22:46:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: P1 X-Bugzilla-Assigned-To: nathan at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Thu, 11 Mar 2021 22:46:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99496 --- Comment #8 from seurer at gcc dot gnu.org --- seurer@marlin:~/gcc/git/build/gcc-test/gcc/testsuite$ /home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../xg++ -B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= a.H -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 -fmodule-header -S -o xtreme-header-3_a.s --save-temps seurer@marlin:~/gcc/git/build/gcc-test/gcc/testsuite$ /home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../xg++ -B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= b.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_b.s --save-temps seurer@marlin:~/gcc/git/build/gcc-test/gcc/testsuite$ /home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../xg++ -B/home3/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++7/../../ /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 --save-temps /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= c.C:3:90: internal compiler error: same canonical type node for different types 'void' and 'std::__void_t' 0x106bbb83 comptypes(tree_node*, tree_node*, int) /home/seurer/gcc/git/gcc-test/gcc/cp/typeck.c:1554 0x10595bdf template_args_equal(tree_node*, tree_node*, bool) /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:9207 0x105954cf comp_template_args(tree_node*, tree_node*, tree_node**, tree_nod= e**, bool) /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:9254 0x105a687b spec_hasher::equal(spec_entry*, spec_entry*) /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:1725 0x1062ed4b hash_table::verify(spec_entry* const&, unsigned int) /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:1032 0x1062f56f hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option) /home/seurer/gcc/git/gcc-test/gcc/hash-table.h:968 0x105b1acf add_mergeable_specialization(bool, spec_entry*, tree_node*, unsi= gned int) /home/seurer/gcc/git/gcc-test/gcc/cp/pt.c:30018 0x104c34db trees_in::decl_value() /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:8068 0x104c5247 trees_in::tree_node(bool) /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:9174 0x104d1dbb module_state::read_cluster(unsigned int) /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:14858 0x104d22a3 module_state::load_section(unsigned int, binding_slot*) /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18125 0x104d396f module_state::read_language(bool) /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18054 0x104d3deb direct_import /home/seurer/gcc/git/gcc-test/gcc/cp/module.cc:18916 0x1055a057 cp_parser_import_declaration /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:13868 0x1058002b cp_parser_translation_unit /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:4905 0x1058002b c_parse_file() /home/seurer/gcc/git/gcc-test/gcc/cp/parser.c:45241 0x1077dadb c_common_parse_file() /home/seurer/gcc/git/gcc-test/gcc/c-family/c-opts.c:1218 Looking at the 3 .ii files the above created the last one is just # 0 "/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3= _c.C" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3= _c.C" import=20 "/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3= _a.H"; going further... seurer@marlin:~/gcc/git/build/gcc-test/gcc/testsuite$ cat /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3_= a.H // { dg-additional-options -fmodule-header } // { dg-module-cmi {} } #include "xtreme-header-3.h" seurer@marlin:~/gcc/git/build/gcc-test/gcc/testsuite$ cat /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/modules/xtreme-header-3.h // Containers (except ranges-including ones) #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include I am attaching all the .ii files and the .H/.h files.=