PR target/67822
* config/nvptx/mkoffload.c (main): Allow -fopenmp.
From-SVN: r242842
+2016-11-24 Alexander Monakov <amonakov@ispras.ru>
+
+ PR target/67822
+ * config/nvptx/mkoffload.c (main): Allow -fopenmp.
+
2016-11-24 Eric Botcazou <ebotcazou@adacore.com>
* common/config/sparc/sparc-common.c (sparc_option_optimization_table):
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");