From b59b0914e42b985299e49f98f7ef06fbd641c9c8 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sun, 12 Nov 2017 16:07:08 +0000 Subject: [PATCH] [cr16, powerpcspe, rs6000] Remove semicolon after ASM_OUTPUT_LABELREF macro body 2017-11-12 Tom de Vries * config/cr16/cr16.h (ASM_OUTPUT_LABELREF): Remove semicolon after macro body. * config/powerpcspe/xcoff.h (ASM_OUTPUT_LABELREF): Same. * config/rs6000/xcoff.h (ASM_OUTPUT_LABELREF): Same. * defaults.h (ASM_OUTPUT_LABELREF): Same. From-SVN: r254664 --- gcc/ChangeLog | 8 ++++++++ gcc/config/cr16/cr16.h | 2 +- gcc/config/powerpcspe/xcoff.h | 2 +- gcc/config/rs6000/xcoff.h | 2 +- gcc/defaults.h | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58b6ef5a7a8..30cbb29cdfa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-11-12 Tom de Vries + + * config/cr16/cr16.h (ASM_OUTPUT_LABELREF): Remove semicolon after macro + body. + * config/powerpcspe/xcoff.h (ASM_OUTPUT_LABELREF): Same. + * config/rs6000/xcoff.h (ASM_OUTPUT_LABELREF): Same. + * defaults.h (ASM_OUTPUT_LABELREF): Same. + 2017-11-11 Martin Sebor PR c/81117 diff --git a/gcc/config/cr16/cr16.h b/gcc/config/cr16/cr16.h index 29f5b852ff6..b0ad34f70ce 100644 --- a/gcc/config/cr16/cr16.h +++ b/gcc/config/cr16/cr16.h @@ -479,7 +479,7 @@ struct cumulative_args #undef ASM_OUTPUT_LABELREF #define ASM_OUTPUT_LABELREF(STREAM, NAME) \ - asm_fprintf (STREAM, "%U%s", (*targetm.strip_name_encoding) (NAME)); + asm_fprintf (STREAM, "%U%s", (*targetm.strip_name_encoding) (NAME)) #define ASM_OUTPUT_SYMBOL_REF(STREAM, SYMBOL) \ do \ diff --git a/gcc/config/powerpcspe/xcoff.h b/gcc/config/powerpcspe/xcoff.h index 36f40f4b11e..1eeb75c3e6c 100644 --- a/gcc/config/powerpcspe/xcoff.h +++ b/gcc/config/powerpcspe/xcoff.h @@ -179,7 +179,7 @@ `assemble_name' uses this. */ #define ASM_OUTPUT_LABELREF(FILE,NAME) \ - asm_fprintf ((FILE), "%U%s", rs6000_xcoff_strip_dollar (NAME)); + asm_fprintf ((FILE), "%U%s", rs6000_xcoff_strip_dollar (NAME)) /* This is how to output an internal label prefix. rs6000.c uses this when generating traceback tables. */ diff --git a/gcc/config/rs6000/xcoff.h b/gcc/config/rs6000/xcoff.h index 36f40f4b11e..1eeb75c3e6c 100644 --- a/gcc/config/rs6000/xcoff.h +++ b/gcc/config/rs6000/xcoff.h @@ -179,7 +179,7 @@ `assemble_name' uses this. */ #define ASM_OUTPUT_LABELREF(FILE,NAME) \ - asm_fprintf ((FILE), "%U%s", rs6000_xcoff_strip_dollar (NAME)); + asm_fprintf ((FILE), "%U%s", rs6000_xcoff_strip_dollar (NAME)) /* This is how to output an internal label prefix. rs6000.c uses this when generating traceback tables. */ diff --git a/gcc/defaults.h b/gcc/defaults.h index 768c9879df9..978ec98ffba 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -170,7 +170,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see do { \ fputs (user_label_prefix, (FILE)); \ fputs ((NAME), (FILE)); \ - } while (0); + } while (0) #endif /* Allow target to print debug info labels specially. This is useful for -- 2.30.2