From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1EAB43857C43; Sun, 2 Aug 2020 09:35:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EAB43857C43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596360951; bh=F1Hh/JOfybyMxVNX/P1v00c0u3HZsfIsV8TLM80bG+Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Igf/i2cgiOqDmSn1PaAYXpDGTO5awkgR8jaFmdq9yULa5I76bl3T7lelW4CYd+Bvu 8cDMroIE+XpoHE6tWnQWagrSH4lPcd2sPl+AotckAlbu4NK9p6bfXnaKkKgj2Qg5yF uivuundkfeP6o6MneZpYvKGtdJxb8JUoY/shwH0U= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96325] Unclassifiable statement with syntax similar to a type-bound procedure call is accepted Date: Sun, 02 Aug 2020 09:35: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: 10.2.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 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: Sun, 02 Aug 2020 09:35:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96325 --- Comment #16 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:e41da82345fb01c4c2641c979a94a975d15312ab commit r11-2487-ge41da82345fb01c4c2641c979a94a975d15312ab Author: Paul Thomas Date: Sun Aug 2 10:35:36 2020 +0100 This patch fixes PR96325. See the explanatory comment in the testcase. 2020-08-02 Paul Thomas gcc/fortran PR fortran/96325 * primary.c (gfc_match_varspec): In the case that a component reference is added to an intrinsic type component, emit the error message in this function. gcc/testsuite/ PR fortran/96325 * gfortran.dg/pr96325.f90: New test. * gfortran.dg/pr91589.f90: Update error message.=