This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] Change x86 intrinsic compat headers to use #error


On 1/10/18 2:14 PM, Segher Boessenkool wrote:
> On Tue, Jan 09, 2018 at 04:09:25PM -0600, Peter Bergner wrote:
>> The following patch changes the x86 intrinsic compat headers to use #error
>> instead of #warning.  We do this for two reasons.  Firstly, we want the user
>> to really be sure they want/need to use the x86 intrinsic compat support
>> before doing so, because a warning is too easy to ignore.  Secondly, we don't
>> want configure time tests that check for whether x86 intrinsic support exists
>> and then use them if they do, to automatically enable usage of them.
>> The x86 intrinsic compat support should only be used when there is no other
>> option to the user (ie, no generic or ppc specific code exists).
>>
>> Is this ok for trunk?
> 
> Okay, thanks!

Committed, thanks!

Peter



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]