summaryrefslogtreecommitdiffstats
path: root/libgomp/testsuite/libgomp.graphite
diff options
context:
space:
mode:
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-07 15:07:58 +0000
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-07 15:07:58 +0000
commit79e1d4fb85b8b10ec282df5203ef6892d51bc582 (patch)
tree58d7a7b7ca50655c031627419515b803f7e1daf1 /libgomp/testsuite/libgomp.graphite
parente1417b504c23d178359112996aaa70d80e7461e5 (diff)
downloadppe42-gcc-79e1d4fb85b8b10ec282df5203ef6892d51bc582.tar.gz
ppe42-gcc-79e1d4fb85b8b10ec282df5203ef6892d51bc582.zip
libgomp: Prepare for testcases without -fopenmp.
libgomp/ * testsuite/lib/libgomp.exp (libgomp_init): Don't add -fopenmp to ALWAYS_CFLAGS. * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Add -fopenmp. * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/testsuite/libgomp.graphite')
-rw-r--r--libgomp/testsuite/libgomp.graphite/graphite.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.graphite/graphite.exp b/libgomp/testsuite/libgomp.graphite/graphite.exp
index 08aa5095cf9..9129964eb19 100644
--- a/libgomp/testsuite/libgomp.graphite/graphite.exp
+++ b/libgomp/testsuite/libgomp.graphite/graphite.exp
@@ -42,6 +42,9 @@ set PARALLEL_CFLAGS "-ansi -pedantic-errors -O2 \
# Initialize `dg'.
dg-init
+# Turn on OpenMP.
+lappend ALWAYS_CFLAGS "additional_flags=-fopenmp"
+
# Gather a list of all tests.
set tests [lsort [find $srcdir/$subdir *.c]]
OpenPOWER on IntegriCloud