From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F255A3858C41; Mon, 6 May 2024 07:21:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F255A3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714980091; bh=YEkIW4hWNmfU+CjktIrMSJSV5X2b2zAYMq3/tTTeVvw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=PCONsRbd4xOv/aQYGEF1/6IqNNFZJ6OQ+ZptcwYL4AS05TLbpytksRe90zTxN7Nwu vI4HFYeYKy1bs2Lbt91xcZfrI+kJCaOgygVPySZ07+bsMODd58GEWn3PvTX604hFsx GC259qQ36/Aln7HK36OXQCfy/p37tsFSh6nuw1BM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/114739] Ensure no IMPLICIT type errors appear when they should for inquiry references Date: Mon, 06 May 2024 07:21:31 +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: ice-on-valid-code, rejects-valid 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: pault 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=3D114739 --- Comment #11 from GCC Commits --- The releases/gcc-13 branch has been updated by Paul Thomas : https://gcc.gnu.org/g:094f8a36dffea52fe6a64596203b82648a3f6121 commit r13-8689-g094f8a36dffea52fe6a64596203b82648a3f6121 Author: Paul Thomas Date: Mon May 6 08:21:14 2024 +0100 Fortran: Fix ICE and clear incorrect error messages [PR114739] 2024-05-06 Paul Thomas gcc/fortran PR fortran/114739 * primary.cc (gfc_match_varspec): Check for default type before checking for derived types with the right component name. gcc/testsuite/ PR fortran/114739 * gfortran.dg/pr114739.f90: New test. * gfortran.dg/derived_comp_array_ref_8.f90: Add 'implicit none' for consistency with expected error message. * gfortran.dg/nullify_4.f90: ditto * gfortran.dg/pointer_init_6.f90: ditto * gfortran.dg/pr107397.f90: ditto * gfortran.dg/pr88138.f90: ditto=