diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-01-23 12:54:16 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-01-23 12:54:16 +0000 |
commit | a0c88d0629a33161add8d5bc083f1e59f3f756f7 (patch) | |
tree | 667a67b3067e4f24e4c52912641a221fd52bf2d2 /gcc/c-family/c.opt | |
parent | 1506ae0e1e865fb7a42fc37a47f1799b71f21c53 (diff) | |
download | gcc-a0c88d0629a33161add8d5bc083f1e59f3f756f7.zip gcc-a0c88d0629a33161add8d5bc083f1e59f3f756f7.tar.gz gcc-a0c88d0629a33161add8d5bc083f1e59f3f756f7.tar.bz2 |
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
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r-- | gcc/c-family/c.opt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 4b92022..fd00407 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -1284,7 +1284,7 @@ ObjC ObjC++ Var(flag_objc1_only) Conform to the Objective-C 1.0 language as implemented in GCC 4.0 fopenacc -C ObjC C++ ObjC++ Var(flag_openacc) +C ObjC C++ ObjC++ LTO Var(flag_openacc) Enable OpenACC fopenmp |