From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4679B3858C83; Wed, 25 Jan 2023 14:50:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4679B3858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674658252; bh=eaGaKZE4z3GY/qAZfUTb94okGpex69mspnhhkfMOQfU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mmsl9msOMrCYBdbZVN5VpxA2lg7N28YFd7kLC3R1pE/W9nbCRyiwMw527iZXxRqAE iS9MI+FAjDBRuf9Tw/G7p9XZiUOM6+yzt3fuAZPE/4petj4gcpn1uZlaqBp1SqsVxp 02Hnl3IiRAatYzLblOkwlSPBzsjVYN9xPCs7pwBE= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107424] [13 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.cc:5397 - and wrong code - with non-rectangular loops Date: Wed, 25 Jan 2023 14:50:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: accepts-invalid, ice-on-valid-code, openmp, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107424 --- Comment #10 from Tobias Burnus --- > now filed as PR middle-end/108459. This has been fixed to mainline. Cross ref: also about collapsed loops but otherwise unrelated: PR middle-end/108435 (loop-var with function nesting issue) * * * Patch for this PR, sorry-ing for non-unit loop steps, but otherwise working: https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610584.html Follow-up work needed (once accepted): Handling some/all cases of non-unit steps; for some thoughts on handling this, see: https://gcc.gnu.org/pipermail/gcc-patches/2023-January/610351.html=