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()
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: "Paul A. Clarke" <pc at us dot ibm dot com>, libc-alpha at sourceware dot org, tuliom at ascii dot art dot br, law at redhat dot com, carlos at redhat dot com
- Date: Tue, 09 Jul 2019 11:50:20 +0200
- Subject: Re: [PATCH] [powerpc] fpu_control.h: protect use of __builtin_cpu_supports()
- References: <1562630076-11320-1-git-send-email-pc@us.ibm.com> <87wogrlogu.fsf@oldenburg2.str.redhat.com>
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."