From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7DEA3858CD1; Thu, 21 Mar 2024 17:07:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7DEA3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711040824; bh=SakBbac2dcpQbZRcqNI4xY8xKxe/iopzLf1TpmcsvMc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NjRbPv2PA/rOZ6w2QD1InwIIh2TYdw3wo7I0GqEL8uXCM4PJ4QkLKpD1gJVxgTxK5 U/jHpbsm1KOZAmUv3VjNZjAPLjagqavkqbRph2vz76oC29zjrMCCS0UDw1nvSHsY5p hPOADSXoZ7FeD7tKidFV3BBfHvEjlQJcMJ46vZAY= From: "mikael at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/105547] No further "Unclassifiable statement" after the first one if multiple syntax errors. Date: Thu, 21 Mar 2024 17:07:03 +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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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: bug_status resolution 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=3D105547 Mikael Morin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #4 from Mikael Morin --- (In reply to kargl from comment #3) > (In reply to Mikael Morin from comment #2) > > Created attachment 57739 [details] > > Patch fixing the problem > >=20 > > This small patch fixes the problem. > > Unfortunately allowing more errors seems counter-productive here. > > As seen in the testsuite changes, the additional errors have little val= ue, > > and add more noise than anything else. > > I'm tempted to close this as WONTFIX. >=20 > I like your approach to limit the run-on errors. >=20 Well, the intent of this PR was on the contrary to avoid silent errors. > I am, however, of the mind that if gfortran gets to the > "Unclassifiable error" message, that perhaps, this should be > a fatal error. I guess one can find cases where later errors are useless noise, and cases where they remain useful and are not caused by bad error recovery. Anyway, I'm closing this.=