[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2844: infinite loop in boyer_moore()

From: Andreas Schwab
Subject: bug#2844: infinite loop in boyer_moore()
Date: Thu, 02 Apr 2009 09:49:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Alexandre Oliva <address@hidden> writes:

> I suppose checking that
>   (EMACS_INT)(cursor + 20000) > (EMACS_INT)(cursor)
> would also be necessary before choosing the EMACS_INT variant of the loop.

That wouldn't help, the compiler will optimize that to true.


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]