This fixes the port to non-GCC compilers that lack __builtin_expect.
* lib/fnmatch.c (__builtin_expect): Change A&&B to !A||B.
2016-11-25 Paul Eggert <eggert@cs.ucla.edu>
+ fnmatch: fix typo introduced on 2016-08-17
+ This fixes the port to non-GCC compilers that lack __builtin_expect.
+ * lib/fnmatch.c (__builtin_expect): Change A&&B to !A||B.
+
dfa: simplify with new function fillset
* lib/dfa.c (fillset): New function.
Use it for clarity when applicable.
# define _GNU_SOURCE 1
#endif
-#if ! defined __builtin_expect && defined __GNUC__ && __GNUC__ < 3
+#if ! defined __builtin_expect && (!defined __GNUC__ || __GNUC__ < 3)
# define __builtin_expect(expr, expected) (expr)
#endif