Message ID | 79a12614-a2b8-4da6-8316-c172abda6dbf@codesourcery.com |
---|---|
State | New |
Headers | show |
Series | [committed] Re: [PATCH] openmp: Add support for the 'indirect' clause in C/C++ | expand |
diff --git a/gcc/config/nvptx/nvptx.cc b/gcc/config/nvptx/nvptx.cc index 724e403a0e9..9363d3ecc6a 100644 --- a/gcc/config/nvptx/nvptx.cc +++ b/gcc/config/nvptx/nvptx.cc @@ -5921,8 +5921,10 @@ nvptx_record_offload_symbol (tree decl) fprintf (asm_out_file, "//:"); if (lookup_attribute ("omp declare target indirect", DECL_ATTRIBUTES (decl))) - fprintf (asm_out_file, "IND_"); - fprintf (asm_out_file, "FUNC_MAP \"%s\"", + fprintf (asm_out_file, "IND_FUNC_MAP"); + else + fprintf (asm_out_file, "FUNC_MAP"); + fprintf (asm_out_file, " \"%s\"", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl))); for (; dims; dims = TREE_CHAIN (dims))