https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64707

--- Comment #5 from vries at gcc dot gnu.org ---
Author: vries
Date: Fri Jan 23 12:53:55 2015
New Revision: 220037

URL: https://gcc.gnu.org/viewcvs?rev=220037&root=gcc&view=rev
Log:
Make fopenmp an LTO option

2015-01-23  Tom de Vries  <t...@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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c.opt
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/lang.opt
    trunk/gcc/lto-opts.c
    trunk/gcc/lto-wrapper.c
    trunk/libgomp/ChangeLog
    trunk/libgomp/testsuite/libgomp.c/target-9.c

Reply via email to