]> gcc.gnu.org Git - gcc.git/commit
[PATCH, rs6000] Fix expected error output for test case.
authorBill Seurer <seurer@linux.vnet.ibm.com>
Thu, 4 Oct 2018 15:05:32 +0000 (15:05 +0000)
committerBill Seurer <seurer@gcc.gnu.org>
Thu, 4 Oct 2018 15:05:32 +0000 (15:05 +0000)
commitf349e465b2982964e071136388d7aba5d7b04ac0
tree98811fdfbfddcf0efee956092d0b1037ee50c555
parent96c545e5ed9d50b2af2d1d5a6a49b7ff1baa0d85
[PATCH, rs6000] Fix expected error output for test case.

r264355 removed some spelling suggestions including for "bool" as used
in this test case.

Bootstrapped and tested on powerpc64le-unknown-linux-gnu and
powerpc64be-unknown-linux-gnu with no regressions.  Is this ok for trunk?

2018-10-04  Bill Seurer  <seurer@linux.vnet.ibm.com>

PR target/87486
* gcc.target/powerpc/undef-bool-2.c: Fix expected error output.

Index: gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (revision 264812)
+++ gcc/testsuite/gcc.target/powerpc/undef-bool-2.c (working copy)
@@ -9,7 +9,7 @@

 #include <xmmintrin.h>

-bool foo (int x) /* { dg-error "unknown type name 'bool'; did you mean '_Bool'?" } */
+bool foo (int x) /* { dg-error "unknown type name 'bool'" } */
 {
   return x == 2;
 }

From-SVN: r264847
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
This page took 0.060362 seconds and 5 git commands to generate.