mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
Fix last change
This commit is contained in:
parent
caa6c9d845
commit
83c7615c2d
@ -1,8 +1,8 @@
|
|||||||
2011-10-18 Andreas Schwab <schwab@redhat.com>
|
2011-10-18 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
|
* sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
|
||||||
(__feraiseexcept_renamed): Add __THROW.
|
(__feraiseexcept_renamed): Add __NTH.
|
||||||
(feraiseexcept): Add __THROW. Rename local variables to fix
|
(feraiseexcept): Add __NTH. Rename local variables to fix
|
||||||
namespace violations.
|
namespace violations.
|
||||||
|
|
||||||
2011-10-17 Ulrich Drepper <drepper@gmail.com>
|
2011-10-17 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
@ -101,8 +101,9 @@ fenv_t;
|
|||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Optimized versions. */
|
/* Optimized versions. */
|
||||||
extern int __feraiseexcept_renamed (int) __THROW __asm__ ("feraiseexcept");
|
extern int __NTH (__feraiseexcept_renamed (int)) __asm__ ("feraiseexcept");
|
||||||
__extern_inline int feraiseexcept (int __excepts) __THROW
|
__extern_inline int
|
||||||
|
__NTH (feraiseexcept (int __excepts))
|
||||||
{
|
{
|
||||||
if (__builtin_constant_p (__excepts)
|
if (__builtin_constant_p (__excepts)
|
||||||
&& (__excepts & ~(FE_INVALID | FE_DIVBYZERO)) == 0)
|
&& (__excepts & ~(FE_INVALID | FE_DIVBYZERO)) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user