summary refs log tree commit diff
path: root/iconvdata/iso8859-1.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-06 21:35:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-06 21:35:37 +0000
commit019357d23488c773cdef1dd077cc8915b6012d52 (patch)
tree021878c36d49a58618f2e094d656c22555d0bf83 /iconvdata/iso8859-1.c
parent9b6a9cee8900c4f9c43ca5f2c9e62c589c4cf238 (diff)
downloadglibc-019357d23488c773cdef1dd077cc8915b6012d52.tar.gz
glibc-019357d23488c773cdef1dd077cc8915b6012d52.tar.xz
glibc-019357d23488c773cdef1dd077cc8915b6012d52.zip
Add __builtin_expect in many places.
Diffstat (limited to 'iconvdata/iso8859-1.c')
-rw-r--r--iconvdata/iso8859-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/iso8859-1.c b/iconvdata/iso8859-1.c
index 4949991711..f40da077bb 100644
--- a/iconvdata/iso8859-1.c
+++ b/iconvdata/iso8859-1.c
@@ -45,7 +45,7 @@
 #define BODY \
   {									      \
     uint32_t ch = *((uint32_t *) inptr);				      \
-    if (ch > 0xff)							      \
+    if (__builtin_expect (ch, 0) > 0xff)				      \
       {									      \
 	/* We have an illegal character.  */				      \
 	if (! ignore_errors_p ())					      \