From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B9A633858C74; Tue, 9 May 2023 12:14:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9A633858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683634441; bh=t1Y574q4l1OTPkbmDQs4JZ5i3jHFxXtqRIdQVkcvdww=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Lr0wAZpaxACljbcAnBwEGV6IB0GHD2kv3twy/zGRx9WB+XrMJzsu4BkfXklYYsfaQ qff38mLjRp98VlBrwu7zPD4SsLkgTd0JJxmiepSwfCgnWpOBbcX6t3ohMOa2fa0fmF LdJQ7yIylzoVY6oehB7lOSi9aUiNUEVPpP9rjMfM= From: "acoplan at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60512] would be useful if gcc implemented __has_feature similarly to clang Date: Tue, 09 May 2023 12:14:01 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: acoplan at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: acoplan 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=3D60512 --- Comment #21 from Alex Coplan --- (In reply to Iain Sandoe from comment #17) >=20 > heh, despite that I've not done anything to it since 2019 actually it bui= lds > and the tests pass - at least for C. Anyway, see what you think and how = it > lines up with your intended impl. Thanks. I've posted what I came up with so far as an RFC here: https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617878.html=