]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS
authorTom de Vries <tom@codesourcery.com>
Tue, 7 Nov 2017 08:11:43 +0000 (08:11 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 7 Nov 2017 08:11:43 +0000 (08:11 +0000)
2017-11-07  Tom de Vries  <tom@codesourcery.com>

PR other/82784
* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
semicolon after "do {} while (0)".
* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
* config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
* config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.

From-SVN: r254489

libgcc/ChangeLog
libgcc/config/aarch64/sfp-machine.h
libgcc/config/i386/sfp-machine.h
libgcc/config/ia64/sfp-machine.h
libgcc/config/mips/sfp-machine.h
libgcc/config/rs6000/sfp-machine.h

index a49078117aac578f84265d46d2cffe221b79c735..a808ce3b08ec011427f2a869744b7cc156245049 100644 (file)
@@ -1,3 +1,13 @@
+2017-11-07  Tom de Vries  <tom@codesourcery.com>
+
+       PR other/82784
+       * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
+       semicolon after "do {} while (0)".
+       * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
+       * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
+       * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
+       * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
+
 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
 
        PR libgcc/82635
index 6cdfe49979453b4a6f69b3c5896443a3d34df065..2295713948e7badb6aa6de2539271635e15dda4b 100644 (file)
@@ -90,7 +90,7 @@ void __sfp_handle_exceptions (int);
   do {                                         \
     if (__builtin_expect (_fex, 0))            \
       __sfp_handle_exceptions (_fex);          \
-  } while (0);
+  } while (0)
 
 #define FP_TRAPPING_EXCEPTIONS ((_fpcr >> FP_EX_SHIFT) & FP_EX_ALL)
 
index 8a1923b6c1a1d6f074cda8af925e79433f591bf5..8319f0550bc4b5f050591d764ef0365e6d792db1 100644 (file)
@@ -58,7 +58,7 @@ void __sfp_handle_exceptions (int);
   do {                                         \
     if (__builtin_expect (_fex, 0))            \
       __sfp_handle_exceptions (_fex);          \
-  } while (0);
+  } while (0)
 
 #define FP_TRAPPING_EXCEPTIONS ((~_fcw >> FP_EX_SHIFT) & FP_EX_ALL)
 
index 45e844d3daa6dba3e258d43e99fec2b4a2ccc3fa..da86b83f0f22553ca3d8be32f7fd6a73e09e7898 100644 (file)
@@ -68,7 +68,7 @@ void __sfp_handle_exceptions (int);
   do {                                         \
     if (__builtin_expect (_fex, 0))            \
       __sfp_handle_exceptions (_fex);          \
-  } while (0);
+  } while (0)
 
 #define FP_TRAPPING_EXCEPTIONS (~_fcw & FP_EX_ALL)
 
index 07d11580ee682e95cecd25eb323745f8978688a7..5d70875d221eafed8234ee678ff05234a54d0a03 100644 (file)
@@ -165,7 +165,7 @@ typedef int __gcc_CMPtype __attribute__ ((mode (__libgcc_cmp_return__)));
     _fcsr &= ~(1 << 17);                               \
     _fcsr |= _fex | (_fex << FP_EX_CAUSE_SHIFT);       \
     __builtin_mips_set_fcsr (_fcsr);                   \
-  } while (0);
+  } while (0)
 
 #else
 #define FP_EX_INVALID           (1 << 4)
index ab028fe4211b10449362bf46415058dfbbd36b65..9975fbf60eba9b9a108796bf43c4c234140d0c57 100644 (file)
@@ -129,7 +129,7 @@ void __sfp_handle_exceptions (int);
   do {                                         \
     if (__builtin_expect (_fex, 0))            \
       __sfp_handle_exceptions (_fex);          \
-  } while (0);
+  } while (0)
 
 /* The FP_EX_* bits track whether the exception has occurred.  This macro
    must set the FP_EX_* bits of those exceptions which are configured to