From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A8DB33858C52; Thu, 2 Feb 2023 16:43:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8DB33858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675356223; bh=wCoKQ8s+QIedCJXctaRn3gDZSkqFRR3/HBLT8Wfs+5M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=w43s14cI7ZSZ2yzz19v0hwnB8akJeimssyaSVgCr6r41dok9e6QvGOU2/KOdTd6xY 9sxgU5hOWZLQb5tbE3DY0nD7g0hopIsulkmQZY9uly1votu8LcHMaMUifbHtlWHCt7 Q+j0G+0FwlvCNSFJCoiGLrfWjP7sOsZ83p+VK1F4= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60512] would be useful if gcc implemented __has_feature similary to clang Date: Thu, 02 Feb 2023 16:43:43 +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: jason 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: resolution cc bug_status 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 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |--- CC| |jason at gcc dot gnu.org Status|RESOLVED |NEW --- Comment #12 from Jason Merrill --- I agree that __has_feature seems redundant with feature test macros, but it does seem reasonable to implement for portability.=