Re: [PATCH] add __has_builtin (PR 66970)

2019-10-27 Thread Jeff Law
On 10/1/19 11:16 AM, Martin Sebor wrote: > Attached is an implementation of the __has_builtin special > preprocessor operator/macro analogous to __has_attribute and > (hopefully) compatible with the synonymous Clang feature (I > couldn't actually find tests for it in the Clang test suite > but if 

[PING] [PATCH] add __has_builtin (PR 66970)

2019-10-25 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00062.html I was privately pointed at the Clang tests. The implementation passes most of them. The one difference I noticed is that GCC expands macros in the __has_builtin argument list while Clang doesn't. Since this is in line with other

Re: [PATCH] add __has_builtin (PR 66970)

2019-10-21 Thread Iain Sandoe
Hi Martin, Martin Sebor wrote: > Ping: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00062.html > > On 10/1/19 11:16 AM, Martin Sebor wrote: >> Attached is an implementation of the __has_builtin special >> preprocessor operator/macro analogous to __has_attribute and >> (hopefully) compatible

Re: [PATCH] add __has_builtin (PR 66970)

2019-10-11 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00062.html On 10/1/19 11:16 AM, Martin Sebor wrote: Attached is an implementation of the __has_builtin special preprocessor operator/macro analogous to __has_attribute and (hopefully) compatible with the synonymous Clang feature (I couldn't

Re: [PATCH] add __has_builtin (PR 66970)

2019-10-01 Thread Martin Sebor
On 10/1/19 11:38 AM, Jakub Jelinek wrote: On Tue, Oct 01, 2019 at 11:16:10AM -0600, Martin Sebor wrote: Attached is an implementation of the __has_builtin special preprocessor operator/macro analogous to __has_attribute and (hopefully) compatible with the synonymous Clang feature (I couldn't

Re: [PATCH] add __has_builtin (PR 66970)

2019-10-01 Thread Jakub Jelinek
On Tue, Oct 01, 2019 at 11:16:10AM -0600, Martin Sebor wrote: > Attached is an implementation of the __has_builtin special > preprocessor operator/macro analogous to __has_attribute and > (hopefully) compatible with the synonymous Clang feature (I > couldn't actually find tests for it in the Clang

[PATCH] add __has_builtin (PR 66970)

2019-10-01 Thread Martin Sebor
Attached is an implementation of the __has_builtin special preprocessor operator/macro analogous to __has_attribute and (hopefully) compatible with the synonymous Clang feature (I couldn't actually find tests for it in the Clang test suite but if someone points me at them I'll verify it). Tested