This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-59-g3857022
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Jan 2012 14:21:26 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-59-g3857022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 3857022a761ea7251f8e5c0e45d382ebc3e34cf9 (commit)
from 5c8e36b47849dcc712edc73ae094393234cb9a6f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9
commit 3857022a761ea7251f8e5c0e45d382ebc3e34cf9
Author: Ulrich Drepper <drepper@gmail.com>
Date: Sun Jan 8 09:21:09 2012 -0500
No need for test for __builtin_expect
diff --git a/ChangeLog b/ChangeLog
index c8d8db7..ff53953 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
No need to check for signed size_t anymore.
Don't set libc_commonpagesize and libc_relro_required here for Alpha
and IA-64.
+ Remove __builtin_expect test because we require at least gcc 3.4.
* aclocal.m4: Likewise.
diff --git a/configure b/configure
index 16fb1a0..e090f16 100755
--- a/configure
+++ b/configure
@@ -6962,38 +6962,6 @@ if test "$libc_cv_c_asmcr0_bug" != 'no'; then
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_expect" >&5
-$as_echo_n "checking for __builtin_expect... " >&6; }
-if ${libc_cv_gcc_builtin_expect+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<EOF
-#line $LINENO "configure"
-int foo (int a)
-{
- a = __builtin_expect (a, 10);
- return a == 10 ? 0 : 1;
-}
-EOF
-if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles
- -o conftest conftest.c -lgcc >&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_gcc_builtin_expect=yes
-else
- libc_cv_gcc_builtin_expect=no
-fi
-rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_builtin_expect" >&5
-$as_echo "$libc_cv_gcc_builtin_expect" >&6; }
-if test "$libc_cv_gcc_builtin_expect" = no; then
- as_fn_error $? "support for __builtin_expect needed" "$LINENO" 5
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_memset" >&5
$as_echo_n "checking for __builtin_memset... " >&6; }
if ${libc_cv_gcc_builtin_memset+:} false; then :
diff --git a/configure.in b/configure.in
index 30ad962..15f925e 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)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 1 +
configure | 32 --------------------------------
configure.in | 22 ----------------------
3 files changed, 1 insertions(+), 54 deletions(-)
hooks/post-receive
--
GNU C Library master sources