From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35140385DC35; Tue, 21 Jul 2020 04:24:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35140385DC35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1595305491; bh=oE7ps0ThuXtplDxF2cJh6VbB6wDWAN39C7BFoaFexIs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hlnWHEOB7aKeahKUJwH4ZEjK7KdozQz29iDAiJDYSpn+Sjld4sx0NDanVV/Rd5/Tv 8FFhOxdghby6URJvj6CHMiOxxoiUI+t8D6AapA8IkVZIIQq2+DYF7sRdo7X1ZFPomJ dRBAtnEOjgMxtCbpkcG+z7rshrhpn39NdFjawRCA= From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96255] [F2018] Implement optional type spec for index in DO CONCURRENT Date: Tue, 21 Jul 2020 04:24:51 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kargl at gcc dot gnu.org 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 04:24:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96255 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- This is related to PR78219. If someone takes up the challenge, then this show accept only standard conforming type specs. That is, INTEGER*4 should be rejected. This means one should use the method introduced in array.c(gfc_match_array_constructor) for code to match a type spec in an array constructor. Looks like a copy and paste with an additional check for INTEGER.=