Commit f349e465 by Bill Seurer Committed by Bill Seurer

[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
parent 96c545e5
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> 2018-10-04 Martin Liska <mliska@suse.cz>
PR c/87483 PR c/87483
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <xmmintrin.h> #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; return x == 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment