From 1506ae0e1e865fb7a42fc37a47f1799b71f21c53 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 23 Jan 2015 12:53:55 +0000 Subject: Make fopenmp an LTO option 2015-01-23 Tom de Vries 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 --- libgomp/ChangeLog | 6 ++++++ libgomp/testsuite/libgomp.c/target-9.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'libgomp') 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 + + PR libgomp/64707 + * testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to + dg-options. + 2015-01-19 Thomas Schwinge 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 -- cgit v1.1