This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66970] Add __has_builtin() macro
- From: "linux at carewolf dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Dec 2016 22:22:04 +0000
- Subject: [Bug c/66970] Add __has_builtin() macro
- Auto-submitted: auto-generated
- References: <bug-66970-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970
Allan Jensen <linux at carewolf dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |linux at carewolf dot com
--- Comment #5 from Allan Jensen <linux at carewolf dot com> ---
This just hit us again, when a patch release removed __builtin_clzs or renamed
it to __builtin_lzcnt_u16. We need to be able to detect which ones exist at
compile-time otherwise we can't ship in headers that won't break when gcc
updates.