This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [powerpc] fpu_control.h: protect use of __builtin_cpu_supports()
* Andreas Schwab:
> 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.
fpu_control.h? Yes. But the changed file is
sysdeps/powerpc/fpu/fenv_libc.h, which I don't think is installed.
Thanks,
Florian