summaryrefslogtreecommitdiff
path: root/gcc/config/nvptx
diff options
context:
space:
mode:
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2016-11-24 18:10:42 +0000
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>2016-11-24 18:10:42 +0000
commite59b86f7a5be421169ed7ee3d02f1dab48e16d11 (patch)
tree6326866b5957fa333c4623f356400332607e604f /gcc/config/nvptx
parentdd6283b43cd45ca5e76498b65f644983167a1ebf (diff)
downloadgcc-e59b86f7a5be421169ed7ee3d02f1dab48e16d11.tar.gz
Allow -fopenmp in NVPTX mkoffload
PR target/67822 * config/nvptx/mkoffload.c (main): Allow -fopenmp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242842 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/nvptx')
-rw-r--r--gcc/config/nvptx/mkoffload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c
index d876c7bc162..e99ef373770 100644
--- a/gcc/config/nvptx/mkoffload.c
+++ b/gcc/config/nvptx/mkoffload.c
@@ -524,8 +524,8 @@ main (int argc, char **argv)
fatal_error (input_location, "cannot open '%s'", ptx_cfile_name);
/* PR libgomp/65099: Currently, we only support offloading in 64-bit
- configurations. PR target/67822: OpenMP offloading to nvptx fails. */
- if (offload_abi == OFFLOAD_ABI_LP64 && !fopenmp)
+ configurations. */
+ if (offload_abi == OFFLOAD_ABI_LP64)
{
ptx_name = make_temp_file (".mkoffload");
obstack_ptr_grow (&argv_obstack, "-o");