From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 39D053858D39; Fri, 26 Jan 2024 10:55:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 39D053858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706266517; bh=11zRsST8EcupQEPLZvhseXko5R9EqBy5K+OwnwBgTs4=; h=From:To:Subject:Date:From; b=lp1+L4I3V2bTJGd339owHZ6OWxnLYHIgT0j65Bl66Zuu6rb5KEq3W/AE+6ui1+TT8 xsY8dBbHJAMWapupDdBckfelMJK2xGTXQqO6aF4Bi8sWkR0MSwNjnyq58U+Jt0r4Yi DJCYqBaKHJL/94iFOrBSC9YYymcbxar3RX/E5BqA= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113616] New: [14 Regression] ICE in process_uses_of_deleted_def, at rtl-ssa/changes.cc:252 Date: Fri, 26 Jan 2024 10:55:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub 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 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=3D113616 Bug ID: 113616 Summary: [14 Regression] ICE in process_uses_of_deleted_def, at rtl-ssa/changes.cc:252 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- struct A { struct A *a; } foo (); struct B { long b; }; struct C { struct B c; struct A d; } *e; void bar (void) { int f; struct C *g; struct A *h; for (g =3D 0, g =3D e ? (void *) e - (char) (__SIZE_TYPE__) &g->d : 0, h = =3D g ? (&g->d)->a : 0; g; g =3D 0, g =3D h ? (void *) h - (char) (__SIZE_TYPE__) &g->d : 0, h = =3D h ? h->a : 0) { f =3D (int) (__SIZE_TYPE__) g; foo (((struct B *) g)->b); } } ICEs with -g -O2 on aarch64-linux: during RTL pass: ldp_fusion rh2260449.i: In function =E2=80=98bar=E2=80=99: rh2260449.i:17:1: internal compiler error: in process_uses_of_deleted_def, = at rtl-ssa/changes.cc:252 17 | } | ^ 0x2c6f609 rtl_ssa::function_info::process_uses_of_deleted_def(rtl_ssa::set_info*) ../../gcc/rtl-ssa/changes.cc:252 0x2c718e1 rtl_ssa::function_info::change_insns(array_slice) ../../gcc/rtl-ssa/changes.cc:839 0x1dc3cbb ldp_bb_info::fuse_pair(bool, unsigned int, int, rtl_ssa::insn_inf= o*, rtl_ssa::insn_info*, base_cand&, rtl_ssa::insn_range_info const&) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2063 0x1dc539e ldp_bb_info::try_fuse_pair(bool, unsigned int, rtl_ssa::insn_info= *, rtl_ssa::insn_info*) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2782 0x1dc5627 ldp_bb_info::merge_pairs(std::__cxx11::list >&, std::__cxx11::list >&, bool, unsigned int) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2871 0x1dc5816 ldp_bb_info::transform_for_base(int, access_group&) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2904 0x1dc801c void ldp_bb_info::traverse_base_map, int_hash >, access_group, simple_hashmap_traits, int_hash > >, access_group> > >(ordered_hash_map, int_hash >, access_group, simple_hashmap_traits, int_hash > >, access_group> >&) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2963 0x1dc5a75 ldp_bb_info::transform() ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:2971 0x1dc01fb ldp_fusion_bb(rtl_ssa::bb_info*) ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:3209 0x1dc0285 ldp_fusion() ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:3218 0x1dc0398 execute ../../gcc/config/aarch64/aarch64-ldp-fusion.cc:3268 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.=