From: Bill Seurer Date: Thu, 4 Oct 2018 15:05:32 +0000 (+0000) Subject: [PATCH, rs6000] Fix expected error output for test case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f349e465b2982964e071136388d7aba5d7b04ac0;p=gcc.git [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 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 -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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7da77d1d4c4..cd10feec8b3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-10-04 Bill Seurer + + PR target/87486 + * gcc.target/powerpc/undef-bool-2.c: Fix expected error output. + 2018-10-04 Martin Liska PR c/87483 diff --git a/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c b/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c index bb8e4260aa0..d4944ab1ca6 100644 --- a/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c +++ b/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c @@ -9,7 +9,7 @@ #include -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; }