about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-26 05:38:12 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-26 05:38:12 +0000
commit6d316b07f1ea998c04887d6a4ea885b8527eafde (patch)
tree261937d44026008d8b1bdbbd04d5c52bdae0a50e
parent97fd3a3003b9eb980395417ffb104e02bf315fe8 (diff)
downloadglibc-6d316b07f1ea998c04887d6a4ea885b8527eafde.tar.gz
glibc-6d316b07f1ea998c04887d6a4ea885b8527eafde.tar.xz
glibc-6d316b07f1ea998c04887d6a4ea885b8527eafde.zip
Update.
2003-11-25  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline
	sqrt for gcc 3.3 and above.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f70b66ccc8..85e8571db9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/i386/fpu/bits/mathinline.h (sqrt): Don't inline
+	sqrt for gcc 3.3 and above.
+
 2003-11-25  Ulrich Drepper  <drepper@redhat.com>
 
 	* posix/runptests.c (main): Make errors fatal.
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 21ae218c62..9c99315662 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -438,8 +438,10 @@ __inline_mathcodeNP2 (fmod, __x, __y, \
 
 
 #ifdef __FAST_MATH__
+# if !__GNUC_PREREQ (3,3)
 __inline_mathopNP (sqrt, "fsqrt")
 __inline_mathopNP_ (long double, __sqrtl, "fsqrt")
+# endif
 #endif
 
 #if __GNUC_PREREQ (2, 8)