rs6000: Shut up -Wformat-diag somewhat
authorSegher Boessenkool <segher@gcc.gnu.org>
Sat, 13 Jul 2019 15:57:21 +0000 (17:57 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 13 Jul 2019 15:57:21 +0000 (17:57 +0200)
commit5c695c29de8d1507aab62a66e4e678bee92c9339
treebdc4732b5437b6e039eb09b0e7caee210dbfc66e
parent544a74f051255994fe03d1b4081ee66e9ae14489
rs6000: Shut up -Wformat-diag somewhat

We currently get lot of build warnings like
/home/segher/src/gcc/gcc/config/rs6000/rs6000-c.c:7039:12: warning: misspelled term 'builtin function' in format; use 'built-in function' instead [-Wformat-diag]
 7039 |    error ("builtin function %qs not supported in this compiler "
      |            ^~~~~~~~~~~~~~~~

That would print something like
  builtin function '__builtin_example' not supported in this compiler

Changing that to "built-in" as suggested only makes this worse.
Instead, let's just remove the whole "builtin function" phrase.

PR target/91148
* config/rs6000/rs6000.c (rs6000_invalid_builtin): Remove superfluous
"builtin function" phrasing.

gcc/testsuite/
* gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-exp-1.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-exp-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-exp-4.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-sig-1.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-sig-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-extract-sig-4.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-1.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-10.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-4.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-5.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-7.c: Adjust.
* gcc.target/powerpc/bfp/scalar-insert-exp-8.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-data-class-11.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-data-class-6.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-data-class-7.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-neg-2.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-neg-3.c: Adjust.
* gcc.target/powerpc/bfp/scalar-test-neg-5.c: Adjust.
* gcc.target/powerpc/bfp/vec-extract-exp-2.c: Adjust.
* gcc.target/powerpc/bfp/vec-extract-exp-3.c: Adjust.
* gcc.target/powerpc/bfp/vec-extract-sig-2.c: Adjust.
* gcc.target/powerpc/bfp/vec-extract-sig-3.c: Adjust.
* gcc.target/powerpc/bfp/vec-insert-exp-2.c: Adjust.
* gcc.target/powerpc/bfp/vec-insert-exp-3.c: Adjust.
* gcc.target/powerpc/bfp/vec-insert-exp-6.c: Adjust.
* gcc.target/powerpc/bfp/vec-insert-exp-7.c: Adjust.
* gcc.target/powerpc/bfp/vec-test-data-class-2.c: Adjust.
* gcc.target/powerpc/bfp/vec-test-data-class-3.c: Adjust.
* gcc.target/powerpc/byte-in-either-range-1.c: Adjust.
* gcc.target/powerpc/byte-in-range-1.c: Adjust.
* gcc.target/powerpc/byte-in-set-1.c: Adjust.
* gcc.target/powerpc/byte-in-set-2.c: Adjust.
* gcc.target/powerpc/cmpb-3.c: Adjust.
* gcc.target/powerpc/crypto-builtin-2.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-1.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-11.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-16.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-21.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-26.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-31.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-36.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-41.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-46.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-51.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-56.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-6.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-61.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-66.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-71.c: Adjust.
* gcc.target/powerpc/dfp/dtstsfi-76.c: Adjust.
* gcc.target/powerpc/vsu/vec-all-nez-7.c: Adjust.
* gcc.target/powerpc/vsu/vec-any-eqz-7.c: Adjust.
* gcc.target/powerpc/vsu/vec-cmpnez-7.c: Adjust.
* gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c: Adjust.
* gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c: Adjust.
* gcc.target/powerpc/vsu/vec-xl-len-12.c: Adjust.
* gcc.target/powerpc/vsu/vec-xl-len-13.c: Adjust.
* gcc.target/powerpc/vsu/vec-xlx-7.c: Adjust.
* gcc.target/powerpc/vsu/vec-xrx-7.c: Adjust.
* gcc.target/powerpc/vsu/vec-xst-len-12.c: Adjust.
* gcc.target/powerpc/vsu/vec-xst-len-13.c: Adjust.

From-SVN: r273468
69 files changed:
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-eq-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-gt-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-lt-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-cmp-exp-unordered-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-1.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-exp-4.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-1.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-extract-sig-4.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-1.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-10.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-4.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-5.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-7.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-insert-exp-8.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-11.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-6.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-7.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-2.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-3.c
gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-5.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-2.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-exp-3.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-2.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-extract-sig-3.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-2.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-3.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-6.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-insert-exp-7.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-2.c
gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-3.c
gcc/testsuite/gcc.target/powerpc/byte-in-either-range-1.c
gcc/testsuite/gcc.target/powerpc/byte-in-range-1.c
gcc/testsuite/gcc.target/powerpc/byte-in-set-1.c
gcc/testsuite/gcc.target/powerpc/byte-in-set-2.c
gcc/testsuite/gcc.target/powerpc/cmpb-3.c
gcc/testsuite/gcc.target/powerpc/crypto-builtin-2.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-1.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-11.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-16.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-21.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-26.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-31.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-36.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-41.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-46.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-51.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-56.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-6.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-61.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-66.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-71.c
gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-76.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-all-nez-7.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-any-eqz-7.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-cmpnez-7.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-cntlz-lsbb-2.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-cnttz-lsbb-2.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-12.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xl-len-13.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xlx-7.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xrx-7.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-12.c
gcc/testsuite/gcc.target/powerpc/vsu/vec-xst-len-13.c