From: Tom de Vries Date: Sun, 19 Nov 2017 10:39:27 +0000 (+0000) Subject: [mcore] Remove semicolon after do {} while (0) in MCORE_EXPORT_NAME X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6014142052171d14c6a9ee2eb65ad3517dbeaf6c;p=gcc.git [mcore] Remove semicolon after do {} while (0) in MCORE_EXPORT_NAME 2017-11-19 Tom de Vries * 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. From-SVN: r254925 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa44fd5413d..4ad89a208af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-11-19 Tom de Vries + + * 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. + 2017-11-19 Tom de Vries PR target/82961 diff --git a/gcc/config/mcore/mcore-elf.h b/gcc/config/mcore/mcore-elf.h index 9688a48e5c7..c0880c214af 100644 --- a/gcc/config/mcore/mcore-elf.h +++ b/gcc/config/mcore/mcore-elf.h @@ -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 diff --git a/gcc/config/mcore/mcore.h b/gcc/config/mcore/mcore.h index 50d087c1cd5..06a9fa66ed2 100644 --- a/gcc/config/mcore/mcore.h +++ b/gcc/config/mcore/mcore.h @@ -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); \