From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A93DD383AB71; Tue, 13 Dec 2022 18:09:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A93DD383AB71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670954952; bh=sXwCkWQrtvXHLhgeFFYR1kHduUGHC50kPszpR5l0yw0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NWpjn5VVLtI8X1jkJ1R+X4eVTR1ZBMcv1vLNReadJx5zd+oNxP4hSzgxVPqmYoSTw 6nVKlQzMLo4UGeq55BdwcK4xcebHe+QA2fSWe4Re791S533/l2LK8qscor50IYpyrM LHF1ymTxJu4NZ7xpFNHtk2x9iWGfFZCFmLuYqUrM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107423] ICE in parse_spec, at fortran/parse.cc:4017 Date: Tue, 13 Dec 2022 18:09:11 +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: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107423 --- Comment #2 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:531ca06c007d4c4d156637083dcad7f25ac8713d commit r13-4681-g531ca06c007d4c4d156637083dcad7f25ac8713d Author: Steve Kargl Date: Mon Dec 12 21:11:07 2022 +0100 Fortran: NULL pointer dereference while parsing a function [PR107423] gcc/fortran/ChangeLog: PR fortran/107423 * parse.cc (parse_spec): Avoid NULL pointer dereference when parsing a function and an error occured. gcc/testsuite/ChangeLog: PR fortran/107423 * gfortran.dg/pr107423.f90: New test.=