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 028b84357e0ad5dca1ecfd227bdea92649bc249c..1bdf16395f8bd6cc2d5974f56bdd6e2cc65e218b 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 71d371d80bcd02d43173b8670aa50578ee7fc57d..7baa593d7f3d378d63319dd91207d36f8cdcd750 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);