[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
This commit is contained in:
Bill Seurer 2018-10-04 15:05:32 +00:00 committed by Bill Seurer
parent 96c545e5ed
commit f349e465b2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2018-10-04 Bill Seurer <seurer@linux.vnet.ibm.com>
PR target/87486
* gcc.target/powerpc/undef-bool-2.c: Fix expected error output.
2018-10-04 Martin Liska <mliska@suse.cz>
PR c/87483

View file

@ -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;
}