[mcore] Remove semicolon after do {} while (0) in MCORE_EXPORT_NAME
authorTom de Vries <tom@codesourcery.com>
Sun, 19 Nov 2017 10:39:27 +0000 (10:39 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 19 Nov 2017 10:39:27 +0000 (10:39 +0000)
2017-11-19  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.

From-SVN: r254925

gcc/ChangeLog
gcc/config/mcore/mcore-elf.h
gcc/config/mcore/mcore.h

index fa44fd5413dab7f0a35c584bac4d1b31058d66d8..4ad89a208af018ea435b84bff081180d92e0dd4f 100644 (file)
@@ -1,3 +1,10 @@
+2017-11-19  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.
+
 2017-11-19  Tom de Vries  <tom@codesourcery.com>
 
        PR target/82961
index 9688a48e5c711c891a6660aa6825f55b527bd9a4..c0880c214af7ad13435998ebbfdbff5d45839ce1 100644 (file)
@@ -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
index 50d087c1cd5255ef4c3f19c3f73ac3958c8e92bc..06a9fa66ed2ecffbe2a8d75e7bfe87aa79287f58 100644 (file)
@@ -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);                           \