From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 920173858005; Thu, 29 Sep 2022 00:09:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 920173858005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664410182; bh=147Aw2vN/LuAjTwD6zotzMzyxsjIaWVrNvUgmzd/8z4=; h=From:To:Subject:Date:From; b=D2aTIpvjRIv3Hroi8d8wUPUZqFQq7w0+IRyqrqHdaDDBagmm9n7pvoRDqszju0QrH 7WBCwXhUn1DO+Y7U9RabqZ6QacSPdjzVClS2pgqxHYFXjRX0s+FteTmEewsBccEeLv yR0oINgGWUgsC0TrfvuiBJJxo6YNVywybRnutOwQ= From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107080] New: ICE in verify_symtab_nodes using _Float64x with long double Date: Thu, 29 Sep 2022 00:09:41 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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 keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget 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=3D107080 Bug ID: 107080 Summary: ICE in verify_symtab_nodes using _Float64x with long double Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Target: x86_64-* i?86-* ia64-* Compiling the following C++ test for x86_64 (or i686 or ia64) produces an I= CE, no optimization or other options required (presumably introduced by the _Fl= oatN / _FloatNx support for C++). template struct S; template<> struct S { static int call (long double x, long double y) throw () { return 3; } }; template<> struct S<_Float64x> { static int call (_Float64x x, _Float64x y) throw () { return 3; } }; template inline int g (T1 x, T2 y) throw () { typedef decltype (x + y) T3; return S::call (x, y); } int f () { return g (0.0f64x, 0.0f64x) + g (0.0f64x, 0.0L); } t.cc:31:1: error: Two symbols with same comdat_group are not linked by the same_comdat_group list. 31 | } | ^ _Z1gIeeEiT_T0_/4 (int g(T1, T2) [with T1 =3D _Float64x; T2 =3D long double]) Type: function definition analyzed Visibility: semantic_interposition no_reorder public weak comdat comdat_group:_Z1gIeeEiT_T0_ one_only previous sharing asm name: 3 References: __gxx_personality_v0/5 (addr)=20 Referring:=20 Function flags: body Called by: _Z1fv/2=20 Calls: _ZN1SIeE4callEee/1=20 _Z1gIeeEiT_T0_/3 (int g(T1, T2) [with T1 =3D _Float64x; T2 =3D _Float64x]) Type: function definition analyzed Visibility: semantic_interposition no_reorder public weak comdat comdat_group:_Z1gIeeEiT_T0_ one_only next sharing asm name: 4 References: __gxx_personality_v0/5 (addr)=20 Referring:=20 Function flags: body Called by: _Z1fv/2=20 Calls: _ZN1SIeE4callEee/1=20 t.cc:31:1: internal compiler error: symtab_node::verify failed 0xc9ba69 symtab_node::verify_symtab_nodes() /scratch/jmyers/glibc/many13/src/gcc/gcc/symtab.cc:1410 0xcb4ab3 symtab_node::checking_verify_symtab_nodes() /scratch/jmyers/glibc/many13/src/gcc/gcc/cgraph.h:682 0xcb4ab3 symbol_table::compile() /scratch/jmyers/glibc/many13/src/gcc/gcc/cgraphunit.cc:2264 0xcb80cd symbol_table::compile() /scratch/jmyers/glibc/many13/src/gcc/gcc/cgraphunit.cc:2261 0xcb80cd symbol_table::finalize_compilation_unit() /scratch/jmyers/glibc/many13/src/gcc/gcc/cgraphunit.cc:2529 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.=