mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Fix -Wundef warnins for __FP_FAST_FMA*
The macros are defined by the compiler, so we can only verify whether they are defined or not.
This commit is contained in:
parent
6f23d0939e
commit
fdf4534d02
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* bits/mathdef.h: Use #ifdef instead of #if.
|
||||
* sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
|
||||
_MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
|
||||
* sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
|
||||
_MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
|
||||
* sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
|
||||
_MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
|
||||
|
||||
2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
Vidya Ranganathan <vidya@linux.vnet.ibm.com>
|
||||
|
||||
|
@ -35,15 +35,15 @@ typedef double double_t; /* `double' expressions are evaluated as
|
||||
|
||||
/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
|
||||
builtins are supported. */
|
||||
#if __FP_FAST_FMA
|
||||
#ifdef __FP_FAST_FMA
|
||||
# define FP_FAST_FMA 1
|
||||
#endif
|
||||
|
||||
#if __FP_FAST_FMAF
|
||||
#ifdef __FP_FAST_FMAF
|
||||
# define FP_FAST_FMAF 1
|
||||
#endif
|
||||
|
||||
#if __FP_FAST_FMAL
|
||||
#ifdef __FP_FAST_FMAL
|
||||
# define FP_FAST_FMAL 1
|
||||
#endif
|
||||
|
||||
|
@ -34,15 +34,15 @@ typedef double double_t; /* `double' expressions are evaluated as
|
||||
|
||||
/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
|
||||
builtins are supported. */
|
||||
# if __FP_FAST_FMA
|
||||
# ifdef __FP_FAST_FMA
|
||||
# define FP_FAST_FMA 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAF
|
||||
# ifdef __FP_FAST_FMAF
|
||||
# define FP_FAST_FMAF 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAL
|
||||
# ifdef __FP_FAST_FMAL
|
||||
# define FP_FAST_FMAL 1
|
||||
# endif
|
||||
|
||||
|
@ -33,15 +33,15 @@ typedef double double_t;
|
||||
|
||||
/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
|
||||
builtins are supported. */
|
||||
# if __FP_FAST_FMA
|
||||
# ifdef __FP_FAST_FMA
|
||||
# define FP_FAST_FMA 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAF
|
||||
# ifdef __FP_FAST_FMAF
|
||||
# define FP_FAST_FMAF 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAL
|
||||
# ifdef __FP_FAST_FMAL
|
||||
# define FP_FAST_FMAL 1
|
||||
# endif
|
||||
|
||||
|
@ -44,15 +44,15 @@ typedef long double double_t; /* `double' expressions are evaluated as
|
||||
|
||||
/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
|
||||
builtins are supported. */
|
||||
# if __FP_FAST_FMA
|
||||
# ifdef __FP_FAST_FMA
|
||||
# define FP_FAST_FMA 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAF
|
||||
# ifdef __FP_FAST_FMAF
|
||||
# define FP_FAST_FMAF 1
|
||||
# endif
|
||||
|
||||
# if __FP_FAST_FMAL
|
||||
# ifdef __FP_FAST_FMAL
|
||||
# define FP_FAST_FMAL 1
|
||||
# endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user