[Bug c/66970] Add __has_builtin() macro

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 26 09:21:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66970

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|preprocessor                |c

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Why do you need this?
Why can't you check before doing a compiling if the builtin exists?  That is
use autoconfig like all standard open source products do.  You still need to do
that for older versions of the compilers anyways.



More information about the Gcc-bugs mailing list