diff mbox series

[2/4] math: Remove mathinline

Message ID 20200317190133.29644-2-adhemerval.zanella@linaro.org
State New
Headers show
Series [1/4] m68k: Remove mathinline.h | expand

Commit Message

develop--- via Libc-alpha March 17, 2020, 7:01 p.m. UTC
With m68k bits moved to internal headers, no architectures export
additional optimizations on mathinline.
---
 bits/mathinline.h | 12 ------------
 math/Makefile     |  2 +-
 math/math.h       |  6 ------
 3 files changed, 1 insertion(+), 19 deletions(-)
 delete mode 100644 bits/mathinline.h

Comments

Andreas Schwab March 17, 2020, 8:52 p.m. UTC | #1
On Mär 17 2020, Adhemerval Zanella via Libc-alpha wrote:

> With m68k bits moved to internal headers, no architectures export
> additional optimizations on mathinline.

Ok.

Andreas.
diff mbox series

Patch

diff --git a/bits/mathinline.h b/bits/mathinline.h
deleted file mode 100644
index 02ec21b438..0000000000
--- a/bits/mathinline.h
+++ /dev/null
@@ -1,12 +0,0 @@ 
-/* This file should provide inline versions of math functions.
-
-   Surround GCC-specific parts with #ifdef __GNUC__, and use `__extern_inline'.
-
-   This file should define __MATH_INLINES if functions are actually defined as
-   inlines.  */
-
-#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
-
-/* Here goes the real code.  */
-
-#endif
diff --git a/math/Makefile b/math/Makefile
index 84a8b94c74..2a5f8bf353 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -22,7 +22,7 @@  subdir		:= math
 include ../Makeconfig
 
 # Installed header files.
-headers		:= math.h bits/mathcalls.h bits/mathinline.h \
+headers		:= math.h bits/mathcalls.h \
 		   fpu_control.h complex.h bits/cmathcalls.h fenv.h \
 		   bits/fenv.h bits/fenvinline.h bits/mathdef.h tgmath.h \
 		   bits/math-vector.h finclude/math-vector-fortran.h \
diff --git a/math/math.h b/math/math.h
index 1692ff4a45..5c3dcb9194 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1301,12 +1301,6 @@  iszero (__T __val)
 # endif
 #endif
 
-/* Get machine-dependent inline versions (if there are any).  */
-#ifdef __USE_EXTERN_INLINES
-# include <bits/mathinline.h>
-#endif
-
-
 #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
 /* An expression whose type has the widest of the evaluation formats
    of X and Y (which are of floating-point types).  */