mkoffload.c (process): Add space in between , and %d.

* config/nvptx/mkoffload.c (process): Add space in between
	, and %d.

From-SVN: r245408
This commit is contained in:
Jakub Jelinek 2017-02-13 22:54:42 +01:00 committed by Jakub Jelinek
parent 5995f59725
commit 3ae481772f
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2017-02-13 Jakub Jelinek <jakub@redhat.com>
* config/nvptx/mkoffload.c (process): Add space in between
, and %d.
* config/i386/i386.h (REG_CLASS_NAMES): Add , in between
"MOD4_SSE_REGS" and "ALL_REGS".

View File

@ -338,7 +338,7 @@ process (FILE *in, FILE *out)
fprintf (out, "static __attribute__((constructor)) void init (void)\n"
"{\n"
" GOMP_offload_register_ver (%#x, __OFFLOAD_TABLE__,"
"%d/*NVIDIA_PTX*/, &target_data);\n"
" %d/*NVIDIA_PTX*/, &target_data);\n"
"};\n",
GOMP_VERSION_PACK (GOMP_VERSION, GOMP_VERSION_NVIDIA_PTX),
GOMP_DEVICE_NVIDIA_PTX);
@ -346,7 +346,7 @@ process (FILE *in, FILE *out)
fprintf (out, "static __attribute__((destructor)) void fini (void)\n"
"{\n"
" GOMP_offload_unregister_ver (%#x, __OFFLOAD_TABLE__,"
"%d/*NVIDIA_PTX*/, &target_data);\n"
" %d/*NVIDIA_PTX*/, &target_data);\n"
"};\n",
GOMP_VERSION_PACK (GOMP_VERSION, GOMP_VERSION_NVIDIA_PTX),
GOMP_DEVICE_NVIDIA_PTX);