From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D28BE388F051; Mon, 22 Jun 2020 23:31:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D28BE388F051 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592868664; bh=pd59WlfPL/6b4hnL4XIHlwZG5bddKrjFhXJkpkp9ii4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dyJUlM8ExtqqGHjfpNK2zfVSEc764qAbm7NeIbFW/PqqZLEl+0HJxKHD84UWM01AB EYXkWiFX4KFmk42ONbbuqPyknTTUqnLSIvVBZEWHxtbkFEsl9l7EIkdwXIJDdRpY3h rm5yDCpf5bmGhXawozZBmkPd2doSQvFC9wFC048I= From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95829] Bogus error with additional blanks in type(*) Date: Mon, 22 Jun 2020 23:31:04 +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: 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: priority cc cf_reconfirmed_on everconfirmed bug_status 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: Mon, 22 Jun 2020 23:31:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95829 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org Last reconfirmed| |2020-06-22 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from kargl at gcc dot gnu.org --- Index: gcc/fortran/decl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/fortran/decl.c (revision 280157) +++ gcc/fortran/decl.c (working copy) @@ -4069,7 +4069,7 @@ gfc_match_decl_type_spec (gfc_typespec *ts, int implic gfc_gobble_whitespace (); if (gfc_peek_ascii_char () =3D=3D '*') { - if ((m =3D gfc_match ("*)")) !=3D MATCH_YES) + if ((m =3D gfc_match ("* ) ")) !=3D MATCH_YES) return m; if (gfc_comp_struct (gfc_current_state ())) {=