Commit 2d8a7648 by Iain Sandoe Committed by Iain Sandoe

[Darwin, PPC, testsuite] Fix darwin-bool-1.c.

This test is failing because of a pedantic warning that is unrelated to the
purpose of the test.  Fixed by suppressing that warning.

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

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

From-SVN: r272591
parent f162b26c
2019-06-22 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/darwin-bool-1.c: Suppress the pedantic
warning about _Bool.
2019-06-22 Marek Polacek <polacek@redhat.com>
PR c++/65707
......
/* 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)];
......
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