From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A72323858C33; Tue, 9 May 2023 10:37:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A72323858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683628632; bh=b/ZvAIl8ufbV8DCYRvTrzebto62dJC/Vfp0p50msnz8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vhe4jo7SLFrwORKSpfyftWjgJrBJ/SToYQdjFrAUi8zSVFGc8qNYV2MPVWT6p6bFT m9I1MIea0uyqJLePSxkJhTucOCRmX7/npz05VHw8Fl2K17ZcztrMwmQEM6tJC9lfRk /8sG0hhwxxknNZiNvn8guKR9IA54SVb2rGv6pyFU= 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 10:37:10 +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 #18 from Alex Coplan --- (In reply to Iain Sandoe from comment #16) >=20 > AFAIR the main blocker to progress was trying to decide how to represent = the > target/language/language version dependencies of the features and extensi= ons > (there's a rudimentary scheme at the moment but it probably is not flexib= le > enough) Can you elaborate on this a little? In particular I'd be interested to hear about cases where the target matters.=