From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 864FF3858416; Thu, 2 May 2024 07:26:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 864FF3858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714634801; bh=ucK+inqBGHAK2PJHHDi4nl3o2Huvuc1t2KjzD+r7KF0=; h=From:To:Subject:Date:From; b=fCSkklKPHKAKaocowOmtFg0E6bUGKEhDFPMucPdoIe9PDlEIh/f6Iik/kJmQ7CYAs QcQRewjusL+A/oZXYWJqEwLnm+LMQzIFF2s5XmFUSJbmOLr6HGbcrotn36hDxniizp cHSUsPIUfwsdxAxpnlw4Hf/DCcijngwpVuVQYGLw= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/114918] New: ICE when building gcl with LTO Date: Thu, 02 May 2024 07:26:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114918 Bug ID: 114918 Summary: ICE when building gcl with LTO Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Originally reported downstream in Gentoo at https://bugs.gentoo.org/931082 = by Agostino Sarubbo. We also had a rep ``` $ gcc -c ./block.i -flto block.c:123:1: error: type variant has different =E2=80=98TREE_TYPE=E2=80=99 123 | } | ^ > unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051e3b5e8 pointer_to_this > QI size constant 8> unit-size constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051642e70 arg-types chain chain chain chain >>>>> pointer_to_this > block.c:123:1: error: type variant=E2=80=99s =E2=80=98TREE_TYPE=E2=80=99 > unsigned DI size constant 64> unit-size constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051e3b5e8 pointer_to_this > block.c:123:1: error: type=E2=80=99s =E2=80=98TREE_TYPE=E2=80=99 > unsigned DI size constant 64> unit-size constant 8> align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051e3b5e8> > unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051e3b5e8> volatile QI size constant 8> unit-size constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f1051363b28 arg-types unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe 0x7f1051e3b5e8 pointer_to_this > chain chain chain chain >>>>> pointer_to_this > during IPA pass: *free_lang_data block.c:123:1: internal compiler error: =E2=80=98verify_type=E2=80=99 failed 0x55c100d66912 verify_type(tree_node const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= tree.cc:14395 0x55c102ce246b free_lang_data =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= ipa-free-lang-data.cc:1134 0x55c102ce246b execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= ipa-free-lang-data.cc:1176 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. ```=