From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 725BD385C017; Tue, 31 Mar 2020 07:12:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 725BD385C017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585638724; bh=XUxhyTl9Z8/9337z8dohtZpqlWSDn+ln48jnJ10TXCI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aGEB4cyI/+/OYTCi1PYy+K+ATOjgCfO6zCN9dkqAzE87enk7kpWvswx5bhXXZJSJ/ otFctD++CiDTvZPmgjFmmoTUK+ovMgr/RXshZQEKS/Sgw5XI+SYWVYHw7v2ZmeXCpM Aii6II7inwO/KclUvfeLUpq5nYt29pc7DVoaqMlI= From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/94397] [10 Regression] the compiler consider "type is( real(kind(1.)) )" as a syntax error since r10-7369-gc38daa7976886a59 Date: Tue, 31 Mar 2020 07:12: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: 10.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston 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: 10.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 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, 31 Mar 2020 07:12:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94397 --- Comment #4 from markeggleston at gcc dot gnu.org --- The compilation error reported is due this change in PR93484: --- a/gcc/fortran/match.c +++ b/gcc/fortran/match.c @@ -2222,9 +2222,9 @@ gfc_match_type_spec (gfc_typespec *ts) found: - m =3D gfc_match_init_expr (&e); + m =3D gfc_match_expr (&e); Changing it back causes test cases ISO_Fortran_binding_11.f90 and pr78033.f= 90 to fail. If "kind=3D" is found gfc_match_init_expr (&e) should be used and when it i= s not gfc_match_expr (&e). I'm checking a suitable test case and will have a patch ready soon.=