Message ID | 6e747c77678460af40bf06c60ec4e9118bac0946.camel@marvell.com |
---|---|
State | New |
Headers | show |
Series | Fix gcc.dg/gomp/pr89104.c failure on aarch64 | expand |
Hi Steve, > 2019-07-24 Steve Ellcey <sellcey@marvell.com> > > * gcc.dg/gomp/pr89104.c: Use -w on aarch64*-*-* targets. > > > diff --git a/gcc/testsuite/gcc.dg/gomp/pr89104.c b/gcc/testsuite/gcc.dg/gomp/pr89104.c > index 505fdda..7f0f688 100644 > --- a/gcc/testsuite/gcc.dg/gomp/pr89104.c > +++ b/gcc/testsuite/gcc.dg/gomp/pr89104.c > @@ -2,6 +2,7 @@ > /* PR ipa/89104 */ > /* { dg-do compile } */ > /* { dg-options "-O2 -fopenmp-simd" } */ > +/* { dg-options "-O2 -fopenmp-simd -w" { target aarch64*-*-* } } */ please use /* { dg-additional-options "-w" { target aarch64*-*-* } } */ instead of repeating the option list. I'll leave approval of the substance of the patch to an OpenMP maintainer. Rainer
diff --git a/gcc/testsuite/gcc.dg/gomp/pr89104.c b/gcc/testsuite/gcc.dg/gomp/pr89104.c index 505fdda..7f0f688 100644 --- a/gcc/testsuite/gcc.dg/gomp/pr89104.c +++ b/gcc/testsuite/gcc.dg/gomp/pr89104.c @@ -2,6 +2,7 @@ /* PR ipa/89104 */ /* { dg-do compile } */ /* { dg-options "-O2 -fopenmp-simd" } */ +/* { dg-options "-O2 -fopenmp-simd -w" { target aarch64*-*-* } } */ #pragma omp declare simd uniform (x) aligned (x) int