From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 467323858D1E; Mon, 6 Feb 2023 06:24:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 467323858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675664659; bh=8c0ezPnlKCJ8QFOv07EvfMn8F3z7KD5bR2gP9e2ZnSE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=S8hJEjo5Hso/winXSzRn3Tvk/Pb6vHMgRKqnAcWbObb9swh/Q1wrtW2T8qbkgv/UI w5VdlG7JXXWwi5GyRZGIYgpCNVzjqSAlA1sKr74iGcvkPiVIfvrv6H7b5Idrwqih5Q 5+BIun1HWUTa5uh5xvetAJMyWho3pvn2owN5GjcU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/61638] "warning: multi-line comment" unclear and has false positives Date: Mon, 06 Feb 2023 06:24:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D61638 --- Comment #10 from Andrew Pinski --- (In reply to Jack Adrian Zappa from comment #9) >=20=20=20 > Suggest fix is to either: >=20=20=20 > 1. Change the phase where this warning/error/ignored is tested so that = the > #pragma GCC diagnostic is honoured or That is fixed on the trunk for GCC 13 (by r13-1544-ge46f4d7430c52104657916)= for the C++ front-end, it was already working for the C front-end.=