summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 09:21:09 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 09:21:09 -0500
commit3857022a761ea7251f8e5c0e45d382ebc3e34cf9 (patch)
tree1814420b391703d5162e420f2abf78a1ad432e16 /configure.in
parent5c8e36b47849dcc712edc73ae094393234cb9a6f (diff)
downloadglibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.tar.gz
glibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.tar.xz
glibc-3857022a761ea7251f8e5c0e45d382ebc3e34cf9.zip
No need for test for __builtin_expect
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 0 insertions, 22 deletions
diff --git a/configure.in b/configure.in
index 30ad9628db..15f925e46a 100644
--- a/configure.in
+++ b/configure.in
@@ -1964,28 +1964,6 @@ if test "$libc_cv_c_asmcr0_bug" != 'no'; then
 fi
 fi
 
-dnl Check whether compiler understands __builtin_expect.
-AC_CACHE_CHECK(for __builtin_expect, libc_cv_gcc_builtin_expect,
-[cat > conftest.c <<EOF
-#line $LINENO "configure"
-int foo (int a)
-{
-  a = __builtin_expect (a, 10);
-  return a == 10 ? 0 : 1;
-}
-EOF
-dnl No \ in command here because it ends up inside ''.
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
-			    -o conftest conftest.c -lgcc >&AS_MESSAGE_LOG_FD]); then
-  libc_cv_gcc_builtin_expect=yes
-else
-  libc_cv_gcc_builtin_expect=no
-fi
-rm -f conftest*])
-if test "$libc_cv_gcc_builtin_expect" = no; then
-  AC_MSG_ERROR([support for __builtin_expect needed])
-fi
-
 AC_CACHE_CHECK(for __builtin_memset, libc_cv_gcc_builtin_memset, [dnl
 cat > conftest.c <<\EOF
 void zero (void *x)