From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8B264385700B; Tue, 4 Oct 2022 00:37:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B264385700B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664843858; bh=U8k3uj+cSZ8+WauaYcbVNz0HDQ7oSARceQ91zSySaTU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IixM/mUf2uLhk4cp9OC18/LVNG9hLgFb2aYfSFZ3dZqLeSYbTXYea0FC0rVbE4Je2 KilUYdUvTghvn8H6TebWxd+dDU5ZznZGBnff1BRlM5ZgeEEQl5eByi9gYP/dYeWL2M pVTjdKVUo7oJ3wmtulAecL018cslemCV0pd4MuEg= From: "lhyatt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55578] Disabling warnings inside macro definition doesn't work Date: Tue, 04 Oct 2022 00:37:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.6.2 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: lhyatt 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: 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=3D55578 Lewis Hyatt changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lhyatt at gcc dot gnu.org --- Comment #9 from Lewis Hyatt --- This was fixed by r9-1926 (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D69558#c25) and is a dupe of = that aspect of PR69558. I would suggest to mark this one resolved, however comme= nt 8 brought up that there was potentially a change in behavior in GCC 11. Do you have an example test case that doesn't behave as you expect? If not, I would suggest to close this one, there has been a lot of progress on pragma locat= ions and I believe most such issues are now fixed on GCC 13 master branch.=