diff --git a/test/cfg/gnu.c b/test/cfg/gnu.c index 085ab1c76..cebdd6f01 100644 --- a/test/cfg/gnu.c +++ b/test/cfg/gnu.c @@ -115,7 +115,7 @@ void valid_code(int argInt1, va_list valist_arg, int * parg) if (__builtin_expect(argInt1, 0)) {} if (__builtin_expect_with_probability(argInt1 + 1, 2, 0.5)) {} - if (__glibc_unlikely(argInt1)) {} + if (__glibc_unlikely(argInt1 != 0)) {} if (__glibc_likely(parg != NULL)) {} void *ax1 = __builtin_assume_aligned(parg, 16); printf("%p", ax1);