Make fopenmp an LTO option
authorTom de Vries <tom@codesourcery.com>
Fri, 23 Jan 2015 12:53:55 +0000 (12:53 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 23 Jan 2015 12:53:55 +0000 (12:53 +0000)
commit1506ae0e1e865fb7a42fc37a47f1799b71f21c53
treedafdb0033bc707c4c0ea9f0a6378ea8944f76727
parent10ef8f287e92cad2f6963a9ee25d954c87567629
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
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/fortran/ChangeLog
gcc/fortran/lang.opt
gcc/lto-opts.c
gcc/lto-wrapper.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/target-9.c