Message ID | CAKdteOZ-8twtSvTjh2AK4=EE6N1FoOG=jXFuSD2hFJ0qAS5QGQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Tue, Dec 01, 2015 at 01:27:32PM +0100, Christophe Lyon wrote: > I've committed the attached patch as obvious: it adds > dg-require-effective-target fopenmp to these new tests > so that they are skipped e.g. on arm bare-metal targets > (using newlib). > > Note that pr46032.c has some failures: > FAIL: gcc.dg/pr46032.c scan-tree-dump-times vect "note: vectorized 1 loop" 1 > on arm-none-linux-gnueabi, on arm-none-linux-gnueabihf with -mfpu=vfp*, > and on armeb-none-linux-gnueabihf > > I haven't looked at the details yet; see > http://people.linaro.org/~christophe.lyon/cross-validation/gcc/trunk/231076/report-build-info.html > for more information. Supposedly pr46032-{2,3}.c should go into testsuite/gcc.dg/gomp/ instead and pr46032.c into testsuite/gcc.dg/vect/ (with the fopenmp effective target and perhaps some other effective target conditions)? > 2015-12-01 Christophe Lyon <christophe.lyon@linaro.org> > > * gcc.dg/pr46032.c: Add dg-require-effective-target fopenmp. > * gcc.dg/pr46032-2.c: Likewise. > * gcc.dg/pr46032-3.c: Likewise. Jakub
Index: gcc/testsuite/gcc.dg/pr46032-2.c =================================================================== --- gcc/testsuite/gcc.dg/pr46032-2.c (revision 231108) +++ gcc/testsuite/gcc.dg/pr46032-2.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target fopenmp } */ /* { dg-options "-O2 -fopenmp -std=c99 -fipa-pta -fdump-tree-optimized" } */ #define N 2 Index: gcc/testsuite/gcc.dg/pr46032-3.c =================================================================== --- gcc/testsuite/gcc.dg/pr46032-3.c (revision 231108) +++ gcc/testsuite/gcc.dg/pr46032-3.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target fopenmp } */ /* { dg-options "-O2 -fopenmp -std=c99 -fipa-pta -fdump-tree-optimized" } */ #define N 2 Index: gcc/testsuite/gcc.dg/pr46032.c =================================================================== --- gcc/testsuite/gcc.dg/pr46032.c (revision 231108) +++ gcc/testsuite/gcc.dg/pr46032.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target fopenmp } */ /* { dg-options "-O2 -fopenmp -ftree-vectorize -std=c99 -fipa-pta -fdump-tree-vect-all" } */ extern void abort (void);