From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D3A638582A4; Mon, 23 Oct 2023 20:48:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D3A638582A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698094113; bh=LVZKV5x9/mZ9YaigGUu6+UWSlFTnosI0u+00nfLwTeU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TE/vaj6BCZ0P5e3MZxwb7E2IaglVT5QVaESVZlGQFxVLwhiXQr0bCOCG+e2pCf1DE xglLU30yXGinVo+/ofPap9imsHOHZJ97BeWE6qBJNPSgJwyNSOsrArHLt+DUUAzY/n tHxfGqzmmYjXMeEeDd0alqY3cWBJV0Yl/OxDasEA= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/111822] [12/13/14 Regression] during RTL pass: lr_shrinkage ICE: in operator[], at vec.h:910 with -O2 -m32 -flive-range-shrinkage -fno-dce -fnon-call-exceptions Date: Mon, 23 Oct 2023 20:48:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: EH, ice-on-valid-code, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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=3D111822 Sam James changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #2 from Sam James --- I was confused at first while just checking the range because 10 has a different ICE: $ g++-10 /tmp/foo.cxx -o /tmp/foo -c -O2 -m32 -flive-range-shrinkage -fno-d= ce -fnon-call-exceptions during RTL pass: lr_shrinkage /tmp/foo.cxx: In member function 'void SQVM::CallNative()': /tmp/foo.cxx:41:1: internal compiler error: Segmentation fault 41 | } | ^ 0xc86baf crash_signal /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/toplev.c:328 0x84d9a6 pre_and_rev_post_order_compute_fn(function*, int*, int*, bool) /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/cfganal.c:1036 0x84db87 pre_and_rev_post_order_compute(int*, int*, bool) /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/cfganal.c:1049 0x81c940 init_alias_analysis() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/alias.c:3391 0x14d9f91 sched_init() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/haifa-sched.c:73= 26 0x14e4ebd haifa_sched_init() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/haifa-sched.c:73= 63 0xc3e02b schedule_insns() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3514 0xc3e6db schedule_insns() /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3508 0xc3e6db rest_of_handle_live_range_shrinkage /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3710 0xc3e6db execute /usr/src/debug/sys-devel/gcc-10.5.0/gcc-10.5.0/gcc/sched-rgn.c:3797 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Anyway, bisecting.=