From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E2FD03858D33; Mon, 4 Mar 2024 12:10:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2FD03858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709554231; bh=tj8GacQMmNOxhlDrQXiuhCpr39iwEr1Rd3rNusO01zk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x7Pxwd15WU7tJVYaep1eamV49AR3C2uAwzyoayDb5zSHM++0+aPgiwAIyv1nTDWGP Hu/idopTyaaDH4T9ao8lmJpgiZ8oRR1AB4wKA9K6GSzvaqr6yz9nzgPIl9wCBlqyLA /yzy9+NCNCFE4z8zyhz5jTPQadTEszVTHNez0BcQ= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/114007] gcc chokes on __has_cpp_attribute(clang::unsafe_buffer_usage) Date: Mon, 04 Mar 2024 12:10:29 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D114007 --- Comment #30 from Jakub Jelinek --- Should be now fixed for GCC 13.3+ too, though in that case I've committed a simplified version, which just parses the adjacent :: in __has_*attribute argument, but yields in that case 0 in the strict pre-C23 modes, while [[vendor::attr]] is rejected there.=