[PATCH] [powerpc] fpu_control.h: protect use of __builtin_cpu_supports()

Andreas Schwab schwab@suse.de
Tue Jul 9 09:50:00 GMT 2019


On Jul 09 2019, Florian Weimer <fweimer@redhat.com> wrote:

> * Paul A. Clarke:
>
>> From: "Paul A. Clarke" <pc@us.ibm.com>
>>
>> Using __builtin_cpu_supports() requires support in GCC and Glibc.
>> My recent patch to fpu_control.h added an unprotected use of
>> __builtin_cpu_supports(), and this is a user-visible file.
>
> Are you sure?  I don't think it's an installed header, and that's what
> “user-visibile file” implies to me.

It's in math/Makefile:headers.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list