]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, ppc, testsuite, backport fix for darwin-bool-1.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Aug 2019 12:22:55 +0000 (12:22 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 4 Aug 2019 12:22:55 +0000 (12:22 +0000)
This test is failing because of a pedantic warning that is unrelated to the
purpose of the test. Fixed by suppressing that warning

2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
warning about _Bool.

From-SVN: r274080

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c

index b798fc8dd1ec5a111489d0a50c05ed5624022a22..b7760211417ecd5baf6c7b73173451ea974c4956 100644 (file)
@@ -1,3 +1,11 @@
+2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline.
+       2019-06-22  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
+       warning about _Bool.
+
 2019-08-04  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline.
index 2f147d073816f923d70d696243325e558225d083..f444edff2950b665696c1161e46c93bc8e33c318 100644 (file)
@@ -1,6 +1,8 @@
 /* Check that sizeof(bool) is 4 if we don't use special options. */
 /* Matt Austern  <austern@apple.com> */
 /* { dg-do run { target { powerpc*-*-darwin* && ilp32 } } } */
+/* We do need to suppress the ISO C doesn't support _Bool message tho.  */
+/* { dg-options "-Wno-pedantic" } */
 
 int dummy1[sizeof(_Bool) - 3];
 int dummy2[5 - sizeof(_Bool)];