From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE73F3858CDB; Wed, 20 Mar 2024 03:24:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE73F3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710905062; bh=JKdJrJULQaDSq8XewkBlsQ6v33VYtCb2qWUUO+7HZ5w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U77uwof20frrbFMT47Tj0SUrePuRpY3j2/FxF8mObechcOIjBuZf7YXoDRvjDFaPB 9tklMKV3sQ17fM5c4WMk61W1L1fxLcSJQ8nX3hmcYU2EVno8lFBfssGvsY2DJIoz80 XDefCWx1XLgI2AyM949FcRpmZFuPR6vKNltYei/U= From: "kargl 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: Wed, 20 Mar 2024 03:24:21 +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: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: priority cc 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 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- (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 value, > and add more noise than anything else. > I'm tempted to close this as WONTFIX. I like your approach to limit the run-on errors. I am, however, of the mind that if gfortran gets to the "Unclassifiable error" message, that perhaps, this should be a fatal error.=