From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5808C3858C62; Mon, 2 Oct 2023 22:26:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5808C3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696285571; bh=lJpSZhuY2Vp4nsYqB5WLD2iqQTlD93vbphrQ2AaKqao=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tBpjDbKde2rJzrgM6HusssFsBYoZyvRJ2Lxx+FrYBX91hkcx8JRv+0zcNFQyFybTT UQWc/YevknSOnyMt9+/Pf3uSx0XIEfL0G3htreMBQ/3EQ63TqyhAeR83F0GtFs1NmQ mm5yq/XMVe3l98t2YrXY/9F9cEcdpPOAN0Cnfgtg= From: "lhyatt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/82335] Incorrect _Pragma expansion if macro passed to another macro Date: Mon, 02 Oct 2023 22:26:09 +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: 5.4.1 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: cf_reconfirmed_on everconfirmed bug_status cc see_also 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=3D82335 Lewis Hyatt changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-10-02 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |lhyatt at gcc dot gnu.org See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D90400, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D102409 --- Comment #2 from Lewis Hyatt --- Depending which variant of the test you look at, this ended up getting reso= lved by r12-4797 and/or by r12-5454. It is the same issue as bug 102409 and bug 90400. The testcase from this PR seems worth adding in addition, so I will = do that prior to closing this one. Patch adding the testcase submitted for rev= iew here: https://gcc.gnu.org/pipermail/gcc-patches/2023-October/631814.html=