public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH testsuite]Fix pr83126.c failure for bare-metal toolchains
@ 2018-03-22 11:07 Bin Cheng
  2018-03-22 12:16 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Bin Cheng @ 2018-03-22 11:07 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Hi,
The new test pr83126.c requires pthread for compiling, this simple patch skips it
for bare-metal toolchains.

Test checked.  Is it OK?

Thanks,
bin

gcc/testsuite
2018-03-22  Bin Cheng  <bin.cheng@arm.com>

	* gcc.dg/graphite/pr83126.c: Require pthread for the test.

[-- Attachment #2: patch-pr83126.txt --]
[-- Type: text/plain, Size: 379 bytes --]

diff --git a/gcc/testsuite/gcc.dg/graphite/pr83126.c b/gcc/testsuite/gcc.dg/graphite/pr83126.c
index 663d059..36bf5d5 100644
--- a/gcc/testsuite/gcc.dg/graphite/pr83126.c
+++ b/gcc/testsuite/gcc.dg/graphite/pr83126.c
@@ -1,3 +1,4 @@
+/* { dg-do compile { target pthread } }  */
 /* { dg-additional-options "-w -ftree-parallelize-loops=2 -floop-parallelize-all -O1" }  */
 
 void

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH testsuite]Fix pr83126.c failure for bare-metal toolchains
  2018-03-22 11:07 [PATCH testsuite]Fix pr83126.c failure for bare-metal toolchains Bin Cheng
@ 2018-03-22 12:16 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2018-03-22 12:16 UTC (permalink / raw)
  To: Bin Cheng; +Cc: gcc-patches, nd

On Thu, Mar 22, 2018 at 12:04 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> The new test pr83126.c requires pthread for compiling, this simple patch skips it
> for bare-metal toolchains.
>
> Test checked.  Is it OK?

OK.

> Thanks,
> bin
>
> gcc/testsuite
> 2018-03-22  Bin Cheng  <bin.cheng@arm.com>
>
>         * gcc.dg/graphite/pr83126.c: Require pthread for the test.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-22 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-22 11:07 [PATCH testsuite]Fix pr83126.c failure for bare-metal toolchains Bin Cheng
2018-03-22 12:16 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).