From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 386663858D39; Mon, 8 Apr 2024 08:38:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 386663858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712565523; bh=UqdGNyKYGIZ482ZoRWwmOr2w0vSgVt6UNEtabMw7/4w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xLLO7zvE/9REF8XXK61zEknxb5kf6TA4BiSggmqYcc/NAMaHn7komeO3g46kp3vWo d/gRGgaXg2SiWgjnnN9qDmetUmyybLj0WY88+FLwbZPOmAI7XcGaIE96pZtuvE/fOl l3gXXW50+RM7+KNhCWkbucC0WJzBWO0oa+Y0Qnx0= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBsaWJmb3J0cmFuLzExNDMwNF0gWzEzLzE0IFJlZ3Jlc3Np?= =?UTF-8?B?b25dIGxpYmdmb3J0cmFuIEkvTyDigJMgYm9ndXMgIlNlbWljb2xvbiBub3Qg?= =?UTF-8?B?YWxsb3dlZCBhcyBzZXBhcmF0b3Igd2l0aCBERUNJTUFMPSdwb2ludCci?= Date: Mon, 08 Apr 2024 08:38:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D114304 --- Comment #28 from Tobias Burnus --- Created attachment 57896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57896&action=3Dedit Testcase It seems as if 'tabs' cause problems, e.g. for: profile_single_file =3D .true. where there are two tabs before '=3D'. * * * The problem seems to be that the new code uses: - eat_spaces (dtp); dtp->u.p.comma_flag =3D 0; + c =3D next_char (dtp); + if (c =3D=3D ' ') + { + eat_spaces (dtp); Thus, it explicitly checks for ' ' while eat_spaces handles: while (c !=3D EOF && (c =3D=3D ' ' || c =3D=3D '\r' || c =3D=3D '\t')); Testcase attached. I think we need at least an "|| c =3D=3D '\t'"; I guess '\r' isn't really r= equired here, or is it?=