From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81DB8385E836; Thu, 2 May 2024 21:59:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81DB8385E836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714687190; bh=gZCU84eZquIwxNppLAtUsDlzsbBBeH5Ek83IeyKaXa8=; h=From:To:Subject:Date:From; b=F55gFQMocDy0+yaWT95nPE9PARadk4oaSOSqS0TbvRef2V4yVK9Vkb8UOQuj579Rg KK9lEJfkg3YIQHXs+I5DgsJxBr6epJecoQvxrPx1gTwMfrvu1dKAcfYP2l2w79IfCB JiFZUYgKut6e5Uaicbh7R6NOXNtO2tovzJ0r07XM= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzExNDkyN10gTmV3OiBJQ0Ugd2hlbiBidWlsZGluZyBF?= =?UTF-8?B?bWFjcyB3aXRoIC1zdGQ9YzIzIC1mbHRvIChlcnJvcjog4oCYVFlQRV9DQU5P?= =?UTF-8?B?TklDQUzigJkgaGFzIGRpZmZlcmVudCDigJhUWVBFX0NBTk9OSUNBTOKAmSk=?= Date: Thu, 02 May 2024 21:59:49 +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-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 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=3D114927 Bug ID: 114927 Summary: ICE when building Emacs with -std=3Dc23 -flto (error: =E2=80=98TYPE_CANONICAL=E2=80=99 has different =E2=80= =98TYPE_CANONICAL=E2=80=99) Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-checking Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 58090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58090&action=3Dedit process.i.xz Hit this when building Emacs with -std=3Dc23 (which bleeding-edge autoconf = now defaults to). (Calling this an FE issue for now unless proven otherwise, given richi's comments on my other bug wrt where the checking is done.) ``` $ gcc -c ./process.i -std=3Dc23 -flto process.c:8920:1: error: =E2=80=98TYPE_CANONICAL=E2=80=99 has different =E2= =80=98TYPE_CANONICAL=E2=80=99 8920 | } | ^ unit-size align:32 warn_if_not_align:0 symtab:0 alias-set 11 canonical-type 0x7f39a98235e8 precision:32 min max pointer_to_this > QI size constant 8> unit-size constant 1> align:8 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality arg-types unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe 0x7f39a9852d20> chain >> pointer_to_this > unit-size align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type 0x7f39a98235e8 precision:32 min max 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 0x7f39a8324d20 arg-types unsigned DI size unit-size align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-ty= pe 0x7f39a9852d20> chain >> pointer_to_this > during IPA pass: *free_lang_data process.c:8920:1: internal compiler error: =E2=80=98verify_type=E2=80=99 fa= iled 0x55d8b1cdf912 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 0x55d8b3c5b46b 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 0x55d8b3c5b46b 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. ```=