x86intrin.h: Change #warning to #error.

* config/rs6000/x86intrin.h: Change #warning to #error. Update message.
	* config/rs6000/emmintrin.h: Likewise.
	* config/rs6000/mmintrin.h: Likewise.
	* config/rs6000/xmmintrin.h: Likewise.

From-SVN: r256452
This commit is contained in:
Peter Bergner 2018-01-10 14:19:26 -06:00 committed by Peter Bergner
parent d90a25424a
commit 9e0fa36ae8
5 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2018-01-10 Peter Bergner <bergner@vnet.ibm.com>
* config/rs6000/x86intrin.h: Change #warning to #error. Update message.
* config/rs6000/emmintrin.h: Likewise.
* config/rs6000/mmintrin.h: Likewise.
* config/rs6000/xmmintrin.h: Likewise.
2018-01-10 David Malcolm <dmalcolm@redhat.com>
PR c++/43486

View File

@ -53,7 +53,7 @@
the PowerISA FPSCR / VSCR registers. We recommend applications
replace direct access to the MXSCR with the more portable <fenv.h>
Posix APIs. */
#warning "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this warning."
#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
#endif
#ifndef EMMINTRIN_H_

View File

@ -49,7 +49,7 @@
C language 64-bit scalar operation or optimized to use the newer
128-bit SSE/Altivec operations. We recomend this for new
applications. */
#warning "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this warning."
#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
#endif
#ifndef _MMINTRIN_H_INCLUDED

View File

@ -29,7 +29,7 @@
Note that much code that uses Intel intrinsics can be rewritten in
standard C or GNU C extensions, which are more portable and better
optimized across multiple targets. */
#warning "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this warning."
#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
#endif
#ifndef _X86INTRIN_H_INCLUDED

View File

@ -51,7 +51,7 @@
the PowerISA FPSCR / VSCR registers. We recommend applications
replace direct access to the MXSCR with the more portable <fenv.h>
Posix APIs. */
#warning "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this warning."
#error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."
#endif
#ifndef _XMMINTRIN_H_INCLUDED