[mcore] Remove semicolon after do {} while (0) in MCORE_EXPORT_NAME
2017-11-14 Tom de Vries <tom@codesourcery.com>
* config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after
"do {} while (0)".
* config/mcore/mcore.h (ASM_OUTPUT_ALIGNED_COMMON): After missing
semicolon after MCORE_EXPORT_NAME call.
---
gcc/config/mcore/mcore-elf.h | 2 +-
gcc/config/mcore/mcore.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3. If not see
(* targetm.strip_name_encoding) (NAME)); \
in_section = NULL; \
} \
- while (0);
+ while (0)
/* Write the extra assembler code needed to declare a function properly.
Some svr4 assemblers need to also have something extra said about the
@@ -684,7 +684,7 @@ extern long mcore_current_compilation_timestamp;
do \
{ \
if (mcore_dllexport_name_p (NAME)) \
- MCORE_EXPORT_NAME (FILE, NAME) \
+ MCORE_EXPORT_NAME (FILE, NAME); \
if (! mcore_dllimport_name_p (NAME)) \
{ \
fputs ("\t.comm\t", FILE); \