aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-01-23 12:53:55 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-01-23 12:53:55 +0000
commit1506ae0e1e865fb7a42fc37a47f1799b71f21c53 (patch)
treedafdb0033bc707c4c0ea9f0a6378ea8944f76727 /libgomp
parent10ef8f287e92cad2f6963a9ee25d954c87567629 (diff)
downloadgcc-1506ae0e1e865fb7a42fc37a47f1799b71f21c53.zip
gcc-1506ae0e1e865fb7a42fc37a47f1799b71f21c53.tar.gz
gcc-1506ae0e1e865fb7a42fc37a47f1799b71f21c53.tar.bz2
Make fopenmp an LTO option
2015-01-23 Tom de Vries <tom@codesourcery.com> PR libgomp/64707 * lto-opts.c (lto_write_options): Output non-explicit conservative -fno-openmp. * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp. (append_compiler_options): Pass -fopenmp through. * c.opt (fopenmp): Mark as LTO option. * lang.opt (fopenmp): Mark as LTO option. * testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to dg-options. From-SVN: r220037
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libgomp/testsuite/libgomp.c/target-9.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 7e866ac..8c722d4 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-23 Tom de Vries <tom@codesourcery.com>
+
+ PR libgomp/64707
+ * testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to
+ dg-options.
+
2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
PR libgomp/64625
diff --git a/libgomp/testsuite/libgomp.c/target-9.c b/libgomp/testsuite/libgomp.c/target-9.c
index 00fe0cb..4f3c812 100644
--- a/libgomp/testsuite/libgomp.c/target-9.c
+++ b/libgomp/testsuite/libgomp.c/target-9.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-options "-O1" } */
+/* { dg-options "-O1 -ftree-parallelize-loops=0" } */
/* { dg-additional-options "-flto" { target lto } } */
#include <stdlib.h>