From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A16823858D1E; Thu, 28 Mar 2024 13:56:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A16823858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711634165; bh=HXkH7No1gpEddzQ4nCe1XBzu64EiRSN+mLhr1h3PB1o=; h=From:To:Subject:Date:From; b=MssY7NwwXOsePL0hXFSa9sX4rYM3A2ucd+MttbyU0HNryDjETqwi/+P0Eqdj7E9ck vGAhyBmCe2uW2WtKc8nQpy050G8lMQXF87bOOikYjDey1PalqpPEW/VpgQBNZUbYzB 2No+siU00vq00bZ69LYU3OrkS7s6LxitI1klHpMI= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/114517] New: gm2 does not allow comparion operator # in the first column Date: Thu, 28 Mar 2024 13:56:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D114517 Bug ID: 114517 Summary: gm2 does not allow comparion operator # in the first column Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: gaius at gcc dot gnu.org Target Milestone: --- gm2 allows # cpp directives, but this conflicts with the # comparison opera= tor (in the unlikely event that # appears in an expression in the first column). It would be more appropriate to: (i) by default allow # in the first column to be interpreted as a cpp directive (given this is the most likely desired use). (ii) allow users to supply -fno-cpp to turn off this default and cc1gm2 should interpret '#' as a comparison operator.=