From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B76253836C02; Thu, 11 Mar 2021 09:50:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B76253836C02 From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99547] New: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=c++2a ICE Date: Thu, 11 Mar 2021 09:50:32 +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: clyon 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: Thu, 11 Mar 2021 09:50:32 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99547 Bug ID: 99547 Summary: [11 regression] g++.dg/modules/xtreme-header-5_c.C -std=3Dc++2a ICE Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Between r11-7602 and r11-7616, I've noticed a regression: FAIL: g++.dg/modules/xtreme-header-5_c.C -std=3Dc++2a (internal compiler er= ror) on arm-eabi targets, and aarch64-elf (that is, configs using newlib vs glibc for *linux* targets) When using -mfloat-abi=3Dhard on arm-eabi, I can see: /aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/gcc/testsuite/g++= 1/../../xg++ -B/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3 /gcc/testsuite/g++1/../../ /gcc/testsuite/g++.dg/modules/xtreme-header-5_c.C -mcpu=3Dcortex-a7 -mfloat-abi=3Dhard -march=3Darmv7ve+simd -fdiagnostics-pl= ain-output -nostdinc++ -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/obj-arm-none-eabi/gcc3/arm-none-eabi/t= humb/v7ve+simd/hard/libstdc++-v3/include/arm-none-eabi -I/aci-gcc-fsf/builds/gcc-fsf-gccsrc/ obj-arm-none-eabi/gcc3/arm-none-eabi/thumb/v7ve+simd/hard/libstdc++-v3/incl= ude -I/libstdc++-v3/libsupc++ -I/libstdc++-v3/include/backward -I/libstdc++-v3/testsuite/util -fmessage-length=3D0 -std=3Dc++2a -pedantic-errors -Wno-long-long -fmodule= s-ts -fno-module-lazy -S -o xtreme-header-5_c.s /gcc/testsuite/g++.dg/modules/xtreme-header-5_c.C:3:30: internal compiler error: same canonical type node for different types 'void' and 'std::__void_t::value, std::is_volatile<_Tp>::value>::__type& (&)()>()() : declval::value, std::is_volatile<_Yp>::value>::__type& (&)()>()()))>' 0x97390f comptypes(tree_node*, tree_node*, int) /gcc/cp/typeck.c:1555 0x899d4c template_args_equal(tree_node*, tree_node*, bool) /gcc/cp/pt.c:9207 0x8998ed comp_template_args(tree_node*, tree_node*, tree_node**, tree_node*= *, bool) /gcc/cp/pt.c:9254 0x8a6243 spec_hasher::equal(spec_entry*, spec_entry*) /gcc/cp/pt.c:1725 0x90e5ae hash_table::find_slot_with_hash(spec_entry* const&, unsigned int, insert_option) /gcc/hash-table.h:981 0x8ad6bb add_mergeable_specialization(bool, spec_entry*, tree_node*, unsign= ed int) /gcc/cp/pt.c:30018 0x80bfb1 trees_in::decl_value() /gcc/cp/module.cc:8068 0x80dc47 trees_in::tree_node(bool) /gcc/cp/module.cc:9174 0x816a3b module_state::read_cluster(unsigned int) /gcc/cp/module.cc:14858 0x816dd4 module_state::load_section(unsigned int, binding_slot*) /gcc/cp/module.cc:18129 0x817d37 module_state::read_language(bool) /gcc/cp/module.cc:18058 0x81800a direct_import /gcc/cp/module.cc:18920 0x88c2b4 cp_parser_translation_unit /gcc/cp/parser.c:4905 0x88c2b4 c_parse_file() /gcc/cp/parser.c:45241 0xa0a37c c_common_parse_file() /gcc/c-family/c-opts.c:1218=