diff options
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/nvptx/mkoffload.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 028b843..1bdf163 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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". diff --git a/gcc/config/nvptx/mkoffload.c b/gcc/config/nvptx/mkoffload.c index 71d371d..7baa593 100644 --- a/gcc/config/nvptx/mkoffload.c +++ b/gcc/config/nvptx/mkoffload.c @@ -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); |