From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D4233858D33; Tue, 20 Feb 2024 21:57:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D4233858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708466274; bh=NnkIbRjkKQDrSCYgwOEv12GilGilZq0hU2X47p52bZg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fZhVbD5rTsi5bjcuT6ZNpgif1yP3Bje2Kk1nGtmMSXGC3MUbD3ZlzODxTn0o3lfLs PZTnyk+SJduJPDjFM2O2DsiXJhBtOvGanKliB7Hlp4YhE2f9vHkoKNIa1W5aqWNQ8h +GecHRWohmBaXaXf8zAAFj+XYmxrRNgWcr+4qtBM= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/114024] ICE allocate statement with source=cmp%re and z an array Date: Tue, 20 Feb 2024 21:57:54 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu 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=3D114024 --- Comment #1 from Steve Kargl -= -- On Tue, Feb 20, 2024 at 09:42:21PM +0000, kargl at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114024 >=20 > allocate (xx, source =3D cmp%re) >=20 >=20 > gfcx -c 0093/0093_0130.f90 > 0093/0093_0130.f90:10:36: >=20 > 10 | allocate (xx, source =3D cmp(1:3)%re) > | 1 Whoops. Wrong backtrace. Nonetheless, I still has an issue with cmp%re. Note, inserting parentheses allows the code to compile, i.e, 'source =3D (cmp%re))'.=