From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D34D1385E836; Fri, 3 May 2024 02:37:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D34D1385E836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714703847; bh=sPgpf+loWqwPWOaeUh4duPPkxFtUwp0vz2he6D3UOlI=; h=From:To:Subject:Date:From; b=WtWgrx3TJI9sRLSVrPVtHoiaeuOXNOblOFci1cEI3sIVPr7jHex7t0jzedugHiEP2 ECg/VvhUe6jlR7t6KnGIl+8qKCgcWLHuZgdRbCJIThOk29rvFfF7aIrBXDdnbs0feh GlTp3snTGO1LJclCRnGzKqLAuuI7Ml5jLtBoOxGU= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/114931] New: ICE in get_alias_set when building tcl with -std=c23 Date: Fri, 03 May 2024 02:37:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: 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 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=3D114931 Bug ID: 114931 Summary: ICE in get_alias_set when building tcl with -std=3Dc23 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 58094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58094&action=3Dedit tclStubLib.i.xz ``` # gcc -c tclStubLib.i -std=3Dc23 during RTL pass: expand /var/tmp/portage/dev-lang/tcl-8.6.14/work/tcl8.6.14/generic/tclStubLib.c: In function =E2=80=98Tcl_InitStubs=E2=80=99: /var/tmp/portage/dev-lang/tcl-8.6.14/work/tcl8.6.14/generic/tclStubLib.c:70= :31: internal compiler error: in get_alias_set, at alias.cc:954 70 | if (!stubsPtr || (stubsPtr->magic !=3D TCL_STUB_MAGIC)) { | ~~~~~~~~^~~~~~~ 0x55a6e9af0586 get_alias_set(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= alias.cc:954 0x55a6eb2865eb record_component_aliases(tree_node*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= alias.cc:1306 0x55a6eb26bcdc record_component_aliases(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= alias.cc:1346 0x55a6eb26bcdc get_alias_set(tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= alias.cc:1151 0x55a6eb28ee06 set_mem_attributes_minus_bitpos(rtx_def*, tree_node*, int, poly_int<1u, long>) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= emit-rtl.cc:1976 0x55a6eb63832b set_mem_attributes(rtx_def*, tree_node*, int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= emit-rtl.cc:2181 0x55a6eb63832b expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:11731 0x55a6eb638c29 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:9443 0x55a6eb638c29 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:11949 0x55a6eb63ba80 expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:9443 0x55a6eb63ba80 store_expr(tree_node*, rtx_def*, int, bool, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:6743 0x55a6eb6368a2 expand_assignment(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= expr.cc:6464 0x55a6eb631a1c expand_gimple_stmt =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= cfgexpand.cc:4077 0x55a6eb631a1c expand_gimple_basic_block =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.1_pre20240430/gcc-14.1.0-RC-20240430/gcc/= cfgexpand.cc:6133 0x55a6eb5daf76 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/= cfgexpand.cc:6872 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. ```=