On Wed, 09 Feb 2022 11:35:58 +0100, Theo Buehler wrote:

> On clang we can use __has_feature(), but that doesn't exist on
> gcc which defines __SANITIZE_ADDRESS__ if it compiles with
> -fsanitize=address.
>
> This doesn't warn on sparc64 and works in my test setups.

It's a little ugly but since this only affects a regress test I
think it is OK.  This may help us in the future if we gain address
sanitizer for our clang.

 - todd

Reply via email to