From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C75A3850233; Wed, 7 Sep 2022 08:28:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C75A3850233 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662539306; bh=eyPSO1Ynmlx0htBflQw2A8vK0yoQ6N/oCKZr+8BtAvA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tbNdFIP51y/WjnJszDBByUmiS7ah2Kav6V9MBq6NG7iTBOXRUOHNmKT9a67+Y4zAH WSlKTHzj0FMWJ64sLdJptoguDj4hhhHof1h/2GntwQTnFA+SSbEeGS7yJIjOmH39We 1+5WY3YviJ/sxHhmXJ2fj15FkkOudsYb6mnBL/o0= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106862] ice in compute_control_dep_chain, at gimple-predicate-analysis.cc:1105 Date: Wed, 07 Sep 2022 08:28:25 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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: 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=3D106862 --- Comment #3 from David Binderman --- Another test case, this time in C is: enum { GELB, VIOLETT } KABEL; typedef playground_t[][4][2]; int ToPlayground_0_0_0, PlayGame_countdown, PlayGame_count_tick_len, PlayGame_move_tick_len, ProcessCapsules_row; playground_t CapsuleCountdown; void PlayGame() { int FinishTakeover =3D 0, prev_move_tick; while (!FinishTakeover) { if (KeyIsPressedR() && ModIsPressed() && ModIsPressed()) return; if (PlayGame_count_tick_len) { if (PlayGame_countdown) EndCountdownSound(); FinishTakeover =3D 1; } if (prev_move_tick + PlayGame_move_tick_len) prev_move_tick +=3D ProcessCapsules(); } } void ProcessCapsules() { int color =3D GELB; for (; color <=3D VIOLETT; color++) { ProcessCapsules_row =3D 0; for (; ProcessCapsules_row < 12; ProcessCapsules_row++) { if (CapsuleCountdown[color][0][ProcessCapsules_row]) CapsuleCountdown[color][0][ProcessCapsules_row]--; if (CapsuleCountdown[color][0][ProcessCapsules_row]) ToPlayground_0_0_0 =3D KABEL; } } } $ /home/dcb/gcc/results/bin/gcc -c -fcommon -O3 -Wall bug842B.c=