2000-04-20 Ulrich Drepper <drepper@redhat.com>
* iconv/skeleton.c: Add some more __builtin_expect.
* iconv/loop.c: Likewise.
+2000-04-20 Ulrich Drepper <drepper@redhat.com>
+
+ * iconv/skeleton.c: Add some more __builtin_expect.
+ * iconv/loop.c: Likewise.
+
2000-03-08 H.J. Lu <hjl@gnu.org>
* posix/regex.c (regex_compile): Correctly handle "\{" when
#endif
/* Are there enough bytes in the input buffer? */
- if (inptr + (MAX_NEEDED_INPUT - inlen) > inend)
+ if (__builtin_expect (inptr + (MAX_NEEDED_INPUT - inlen) > inend, 0))
{
#ifdef STORE_REST
*inptrp = inend;
/* If the function is called with no input this means we have to reset
to the initial state. The possibly partly converted input is
dropped. */
- if (do_flush)
+ if (__builtin_expect (do_flush, 0))
{
status = __GCONV_OK;
if (result != __GCONV_EMPTY_INPUT)
{
- if (outerr != outbuf)
+ if (__builtin_expect (outerr != outbuf, 0))
{
#ifdef RESET_INPUT_BUFFER
RESET_INPUT_BUFFER;