From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB6B23858CD1; Tue, 9 Apr 2024 06:35:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB6B23858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712644526; bh=IU76whRpdS5AOqU9YSVBsNKLr1cDbf0VGBCPr/1DWSU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w1EqF9PB4dZL6ZLvF4YztDEkpcwx/t+GXW16TcKg2K8Qbz3h9yB4C7vk/VV18qwUH Kg+1hdX1zdDntERCmyn3gVGtTGe1XCdIJzfuzgt5N36AZK2b3mM0CNmrFGrolOjZ7h omWsMzFTE2Cnp5O6UrV9jNVgDvtN6UHyEW1GlHg4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/79106] wrong source line printed in diagnostics for a translation unit Date: Tue, 09 Apr 2024 06:35:25 +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: 7.0 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=3D79106 --- Comment #9 from Andrew Pinski --- Also note both EDG is able to handle this correctly (clang was already mentioned).=