From: Peter Bergner Date: Wed, 10 Jan 2018 20:19:26 +0000 (-0600) Subject: x86intrin.h: Change #warning to #error. X-Git-Tag: basepoints/gcc-9~2082 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9e0fa36ae82efe128f5dcbc85dc24365f7390fe1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a292768d13a2..ab2c2cca52c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-01-10 Peter Bergner + + * 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 PR c++/43486 diff --git a/gcc/config/rs6000/emmintrin.h b/gcc/config/rs6000/emmintrin.h index 2f457c9b9c83..3dcda0d37b17 100644 --- a/gcc/config/rs6000/emmintrin.h +++ b/gcc/config/rs6000/emmintrin.h @@ -53,7 +53,7 @@ the PowerISA FPSCR / VSCR registers. We recommend applications replace direct access to the MXSCR with the more portable 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_ diff --git a/gcc/config/rs6000/mmintrin.h b/gcc/config/rs6000/mmintrin.h index 20f5471ad470..9001e570de59 100644 --- a/gcc/config/rs6000/mmintrin.h +++ b/gcc/config/rs6000/mmintrin.h @@ -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 diff --git a/gcc/config/rs6000/x86intrin.h b/gcc/config/rs6000/x86intrin.h index 871086b8dfd1..28bfdde7e64d 100644 --- a/gcc/config/rs6000/x86intrin.h +++ b/gcc/config/rs6000/x86intrin.h @@ -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 diff --git a/gcc/config/rs6000/xmmintrin.h b/gcc/config/rs6000/xmmintrin.h index 445abb832497..4f3660ac4754 100644 --- a/gcc/config/rs6000/xmmintrin.h +++ b/gcc/config/rs6000/xmmintrin.h @@ -51,7 +51,7 @@ the PowerISA FPSCR / VSCR registers. We recommend applications replace direct access to the MXSCR with the more portable 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