summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2017-11-12 16:07:08 +0000
committerTom de Vries <vries@gcc.gnu.org>2017-11-12 16:07:08 +0000
commitb59b0914e42b985299e49f98f7ef06fbd641c9c8 (patch)
tree10ecc525d73750ace65b9cedc5b61919b8b47f57 /gcc
parent5b88308195e4add0e0e68abcc7d98e16b67d97b4 (diff)
[cr16, powerpcspe, rs6000] Remove semicolon after ASM_OUTPUT_LABELREF macro body
2017-11-12 Tom de Vries <tom@codesourcery.com> * 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/cr16/cr16.h2
-rw-r--r--gcc/config/powerpcspe/xcoff.h2
-rw-r--r--gcc/config/rs6000/xcoff.h2
-rw-r--r--gcc/defaults.h2
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 <tom@codesourcery.com>
+
+ * 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 <msebor@redhat.com>
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