From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 071503858C55; Thu, 21 Mar 2024 17:58:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 071503858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711043928; bh=c1ptEo7YdHrtmRKar1Z+nqoRTiJJZ8r8l8dwCSpIMeM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DXXWSEIeWjXhewUsdNYopUZq0b/DC5LoiL4D2CjrlIDj6w1A+gX6VALTJbuC0dYhq tkpMo2TY1AQWuR7yzATsvLuV5OyIepJbkPafOpqBBXHx04ZQw9uJQUjqLYwc4ZT7SU xKY5rvqVnbZsUCCv1yunGPKjj92vYA88JvuEjGSA= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103472] ICE in gfc_conv_ss_startstride, at fortran/trans-array.c:4527 Date: Thu, 21 Mar 2024 17:58:47 +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: 12.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_work cf_known_to_fail 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=3D103472 Mikael Morin changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |14.0 Known to fail| |13.2.0 --- Comment #3 from Mikael Morin --- The example from comment #0 is now rejected, which avoids the problem: comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Warning: Lower array reference at (1) is out of bounds (1 > 0) in dimension= 1 comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Warning: Lower array reference at (1) is out of bounds (1 > 0) in dimension= 1 comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Error: index in dimension 1 is out of bounds at (1)=