[Bug preprocessor/93419] __has_attribute(ifunc) false positive on hurd and kfreebsd

fabian-gcc at kloetzl dot info gcc-bugzilla@gcc.gnu.org
Fri Jan 24 16:07:00 GMT 2020


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

--- Comment #3 from kloetzl <fabian-gcc at kloetzl dot info> ---
Hm, I feared that this would be the answer I would get. This makes GCCs
__has_attribute much less useful than Clangs version where the docs state:

“This function-like macro takes a single identifier argument that is the name
of a GNU-style attribute. It evaluates to 1 if the attribute is supported by
the current compilation target, or 0 if not.”


More information about the Gcc-bugs mailing list