diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-11-07 08:11:43 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-11-07 08:11:43 +0000 |
commit | 2a321acb02d5b678f7fd4a4aadc31e586acac84a (patch) | |
tree | 12382982e87269a54d5ddd3b1b95d07c00b3ea34 /libgcc | |
parent | 96d155c6968bf7e2eadc61f1a9bbcc0dd5ae899d (diff) | |
download | gcc-2a321acb02d5b678f7fd4a4aadc31e586acac84a.tar.gz |
[libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS
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
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 10 | ||||
-rw-r--r-- | libgcc/config/aarch64/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/i386/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/ia64/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/mips/sfp-machine.h | 2 | ||||
-rw-r--r-- | libgcc/config/rs6000/sfp-machine.h | 2 |
6 files changed, 15 insertions, 5 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a49078117aa..a808ce3b08e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 diff --git a/libgcc/config/aarch64/sfp-machine.h b/libgcc/config/aarch64/sfp-machine.h index 6cdfe499794..2295713948e 100644 --- a/libgcc/config/aarch64/sfp-machine.h +++ b/libgcc/config/aarch64/sfp-machine.h @@ -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) diff --git a/libgcc/config/i386/sfp-machine.h b/libgcc/config/i386/sfp-machine.h index 8a1923b6c1a..8319f0550bc 100644 --- a/libgcc/config/i386/sfp-machine.h +++ b/libgcc/config/i386/sfp-machine.h @@ -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) diff --git a/libgcc/config/ia64/sfp-machine.h b/libgcc/config/ia64/sfp-machine.h index 45e844d3daa..da86b83f0f2 100644 --- a/libgcc/config/ia64/sfp-machine.h +++ b/libgcc/config/ia64/sfp-machine.h @@ -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) diff --git a/libgcc/config/mips/sfp-machine.h b/libgcc/config/mips/sfp-machine.h index 07d11580ee6..5d70875d221 100644 --- a/libgcc/config/mips/sfp-machine.h +++ b/libgcc/config/mips/sfp-machine.h @@ -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) diff --git a/libgcc/config/rs6000/sfp-machine.h b/libgcc/config/rs6000/sfp-machine.h index ab028fe4211..9975fbf60eb 100644 --- a/libgcc/config/rs6000/sfp-machine.h +++ b/libgcc/config/rs6000/sfp-machine.h @@ -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 |