[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
This commit is contained in:
Tom de Vries 2017-11-07 08:11:43 +00:00 committed by Tom de Vries
parent 96d155c696
commit 2a321acb02
6 changed files with 15 additions and 5 deletions

View 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

View 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)

View 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)

View 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)

View 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)

View 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