From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CBABB3858D39; Wed, 28 Dec 2022 17:54:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBABB3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672250056; bh=kjbfWBxL85FPCGaW6QeQRUFW3c0mNohIEDPo/IRyCfc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KfOC3/xapgkA5gTFqrZEOSrHBzW1R3/7N4N2ejOhjWqKl2HEgS/UOEMbyjkgdHCQ1 xY9D6vIL7pAAADcUEJgF8qf0IGRpctFbnodl5mTxM+CxUfCU9HCXnMDvTbVobxuI3v ZnXrpOzT4Ld1QBHUqF40RfaISZCoITldPoxkfjzk= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108242] [10/11/12/13 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function Date: Wed, 28 Dec 2022 17:54:16 +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: 12.0 X-Bugzilla-Keywords: needs-bisection, rejects-valid 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: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords target_milestone cf_known_to_work cf_reconfirmed_on short_desc cf_known_to_fail bug_status everconfirmed 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=3D108242 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Target Milestone|--- |10.5 Known to work| |7.1.0 Last reconfirmed| |2022-12-28 Summary|'__FUNCTION__' was not |[10/11/12/13 Regression] |declared when used inside a |'__FUNCTION__' was not |generic (templated) lambda |declared when used inside a |declared inside a template |generic (templated) lambda |function |declared inside a template | |function Known to fail| |8.1.0 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #2 from Andrew Pinski --- Note the original testcase works in GCC 8 to GCC 11 while my testcase in comment #1 fails with those versions.=20 Would be interesting to see what patch broke the original testcase and my testcase.=