Make fopenacc an LTO option
authorTom de Vries <tom@codesourcery.com>
Fri, 23 Jan 2015 12:54:16 +0000 (12:54 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 23 Jan 2015 12:54:16 +0000 (12:54 +0000)
commita0c88d0629a33161add8d5bc083f1e59f3f756f7
tree667a67b3067e4f24e4c52912641a221fd52bf2d2
parent1506ae0e1e865fb7a42fc37a47f1799b71f21c53
Make fopenacc an LTO option

2015-01-23  Tom de Vries  <tom@codesourcery.com>

PR libgomp/64672
* lto-opts.c (lto_write_options): Output non-explicit conservative
-fno-openacc.
* lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
(append_compiler_options): Pass -fopenacc through.

* c.opt (fopenacc): Mark as LTO option.

* lang.opt (fopenacc): Mark as LTO option.

* testsuite/libgomp.oacc-c-c++-common/abort-5.c: New test.

From-SVN: r220038
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.oacc-c-c++-common/abort-5.c [new file with mode: 0644]