This test is failing on ppc64* due to different default signness for chars. Thanks to Richi for quickly pointing out the problem.
Tested on x86-64 Linux and ppc64le Linux. gcc/testsuite/ChangeLog: PR testsuite/pr102751 * gcc.dg/tree-ssa/pr102736.c: Make sign explicit. --- gcc/testsuite/gcc.dg/tree-ssa/pr102736.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr102736.c b/gcc/testsuite/gcc.dg/tree-ssa/pr102736.c index 7e556f01a86..c693a7189dd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr102736.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr102736.c @@ -3,8 +3,8 @@ int a, b = -1, c; int d = 1; -static inline char e(char f, int g) { return g ? f : 0; } -static inline char h(char f) { return f < a ? f : f < a; } +static inline signed char e(signed char f, int g) { return g ? f : 0; } +static inline signed char h(signed char f) { return f < a ? f : f < a; } static inline unsigned char i(unsigned char f, int g) { return g ? f : f > g; } void j() { L: -- 2.31.1