From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3E1B3858C60; Thu, 30 Nov 2023 12:11:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3E1B3858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701346268; bh=4fC4GYHBjB6d/DExFbsefNfFjpIm8zmwThvTznQTjno=; h=From:To:Subject:Date:From; b=JBUrCAJ8KErgjHTb2CSFkQrVN2yoWpf8SFGakxsBZlBxEnX95vb939XfJw0XE4n4n kfwhfwY1AmomeWHfJy76NaLGyTXdJhGGYdXBtce/ppv8f11ClGEk4A6QbRIlmyOEwj kZvrmFb5iZlZ8ycTjZMZ5qxlJUVshpT3rvEW8BfY= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112780] New: ICE: symtab_node::verify failed: "Two symbols with same comdat_group are not linked by the same_comdat_group list." with -mlong-double-128 Date: Thu, 30 Nov 2023 12:11:07 +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: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz 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 keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112780 Bug ID: 112780 Summary: ICE: symtab_node::verify failed: "Two symbols with same comdat_group are not linked by the same_comdat_group list." with -mlong-double-128 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 56726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56726&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -mlong-double-128 testcase.C testcase.C:10:32: error: Two symbols with same comdat_group are not linked = by the same_comdat_group list. 10 | template void foo(__float128 t); | ^ _Z3fooIgEvT_/7 (void foo(T) [with T =3D __float128]) Type: function definition analyzed Visibility: forced_by_abi semantic_interposition no_reorder public weak comdat comdat_group:_Z3fooIgEvT_ one_only previous sharing asm name: 6 References:=20 Referring:=20 Function flags: body Called by:=20 Calls:=20 _Z3fooIgEvT_/6 (void foo(T) [with T =3D long double]) Type: function definition analyzed Visibility: forced_by_abi semantic_interposition no_reorder public weak comdat comdat_group:_Z3fooIgEvT_ one_only next sharing asm name: 7 References:=20 Referring:=20 Function flags: body Called by:=20 Calls:=20 testcase.C:10:32: internal compiler error: symtab_node::verify failed 0x12953f1 symtab_node::verify_symtab_nodes() /repo/gcc-trunk/gcc/symtab.cc:1412 0x12aacf0 symtab_node::checking_verify_symtab_nodes() /repo/gcc-trunk/gcc/cgraph.h:686 0x12aacf0 symbol_table::compile() /repo/gcc-trunk/gcc/cgraphunit.cc:2314 0x12ada77 symbol_table::compile() /repo/gcc-trunk/gcc/cgraphunit.cc:2311 0x12ada77 symbol_table::finalize_compilation_unit() /repo/gcc-trunk/gcc/cgraphunit.cc:2583 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-g= cc COLLECT_LTO_WRAPPER=3D/repo/gcc-trunk/binary-trunk-r14-5986-20231129235555-= g8315f998659-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-l= inux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-5986-20231129235555-g8315f9986= 59-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231130 (experimental) (GCC)=