From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9C083858C3A; Tue, 24 Oct 2023 07:15:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9C083858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698131738; bh=duXHQclnPdTYIFCYefd54kesq2O2uNNSgvbF3qqncM0=; h=From:To:Subject:Date:From; b=BkBJdLYg5W4884jUWE1yApcxlhVIwXe4cPqvNX/StcHSfFkH6zNK4U5fK12aL+u4v w7USIpH2EbkQqlrZYca1UMIK/3mcbFHcrNLteW/B9HQ8VZXdC9GbN8chkEFKzmepNq 5/A0EeeQnep5alZcXN2Zgu43hHNj+hrF57sFy/18= From: "shaohua.li at inf dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111950] New: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c Date: Tue, 24 Oct 2023 07:15:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shaohua.li at inf dot ethz.ch 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 cc 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=3D111950 Bug ID: 111950 Summary: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: shaohua.li at inf dot ethz.ch CC: rguenth at gcc dot gnu.org Target Milestone: --- gcc at -O3 crashes on the test case. Bisected to r14-4786-gd118738e71c Compiler explorer: https://godbolt.org/z/Pe5cPqo7s $ cat a.c int a, b, d; int c[4]; unsigned e; void f() { char g; for (; d; d++) { g =3D 1; for (; g >=3D 0; g--) { e =3D b >=3D 2 || a >> b ?: a; c[g] =3D e; } } } int main() {} $ $ gcc -O3 a.c during GIMPLE pass: vect a.c: In function =E2=80=98f=E2=80=99: a.c:4:6: internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 4 | void f() { | ^ 0x7f4266496082 __libc_start_main ../csu/libc-start.c:308 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. $=