[ft32, spu] Remove semicolon after do {} while (0) in REGISTER_TARGET_PRAGMAS
authorTom de Vries <tom@codesourcery.com>
Sun, 19 Nov 2017 10:39:38 +0000 (10:39 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 19 Nov 2017 10:39:38 +0000 (10:39 +0000)
2017-11-19  Tom de Vries  <tom@codesourcery.com>

* config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after
"do {} while (0)".
* config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same.

From-SVN: r254926

gcc/ChangeLog
gcc/config/ft32/ft32.h
gcc/config/spu/spu.h

index 4ad89a208af018ea435b84bff081180d92e0dd4f..b3de37a09727ec543b54d741d21acbeaa0f3aebe 100644 (file)
@@ -1,3 +1,9 @@
+2017-11-19  Tom de Vries  <tom@codesourcery.com>
+
+       * config/ft32/ft32.h (REGISTER_TARGET_PRAGMAS): Remove semicolon after
+       "do {} while (0)".
+       * config/spu/spu.h (REGISTER_TARGET_PRAGMAS): Same.
+
 2017-11-19  Tom de Vries  <tom@codesourcery.com>
 
        * config/mcore/mcore-elf.h (MCORE_EXPORT_NAME): Remove semicolon after
index 8bb0d399a0c2f08e2246120aa92a5f11b0731bfb..b276f25588fcb4b0730ca89479c9df39564b9863 100644 (file)
@@ -471,7 +471,7 @@ do { \
 
 #define REGISTER_TARGET_PRAGMAS() do { \
   c_register_addr_space ("__flash__", TARGET_NOPM ? 0 : ADDR_SPACE_PM); \
-} while (0);
+} while (0)
 
 extern int ft32_is_mem_pm(rtx o);
 
index cf99b88b6acf29c438311db4e412aa7b35090e88..efb046479cba96baa037a441d34bcd430c1c6377 100644 (file)
@@ -213,7 +213,7 @@ enum reg_class {
 #define REGISTER_TARGET_PRAGMAS() do {                                 \
 c_register_addr_space ("__ea", ADDR_SPACE_EA);                         \
 targetm.resolve_overloaded_builtin = spu_resolve_overloaded_builtin;   \
-}while (0);
+}while (0)
 
 \f
 /* Frame Layout */