From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 53FA23858D28; Sun, 23 Jul 2023 02:40:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53FA23858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690080002; bh=c9xo3EyGevZEKG50+qNMDxU1XFzZQfpuwqBQZ2WTWEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FDNAkBci+mzwtTxBHl2w55jnUvyxGdTAu0aEsExzxDG5n+PLl5MPPzmE+j0lgKhYe J7I4wJnWL0tRWDiHtjeKpCdAAJ1Ja/OkGZzDpgak+g63HKjgiqEBmnO2B9xW0lPV40 V7oqUgUSfDly+bFGxTkXS6+lcU/Tq1TK/LlqcoXk= From: "zhendong.su at inf dot ethz.ch" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110769] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1023 Date: Sun, 23 Jul 2023 02:39:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zhendong.su 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: 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=3D110769 Zhendong Su changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zhendong.su at inf dot eth= z.ch --- Comment #2 from Zhendong Su --- Another related test: [591] % gcctk -O3 small.c during GIMPLE pass: ch_vect small.c: In function =E2=80=98main=E2=80=99: small.c:2:5: internal compiler error: in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1023 2 | int main() { | ^~~~ 0x821ffd adjust_loop_info_after_peeling(loop*, int, bool) ../../gcc-trunk/gcc/tree-ssa-loop-ivcanon.cc:1023 0x1142471 copy_headers ../../gcc-trunk/gcc/tree-ssa-loop-ch.cc:1110 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. [592] %=20 [592] % cat small.c int a, b, c, *d =3D &a; int main() { while (b) ; a++; if (!c && !d) __builtin_abort(); while (!a || b > 0) b++; return 0; }=