mkoffload.c (process): Add space in between , and %d.
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Feb 2017 21:54:42 +0000 (22:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Feb 2017 21:54:42 +0000 (22:54 +0100)
* config/nvptx/mkoffload.c (process): Add space in between
, and %d.

From-SVN: r245408

gcc/ChangeLog
gcc/config/nvptx/mkoffload.c

index 028b843..1bdf163 100644 (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".
 
index 71d371d..7baa593 100644 (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);