Make signness explicit in tree-ssa/pr102736.c

This test is failing on ppc64* due to different default signness for
chars.

Tested on x86-64 Linux and ppc64le Linux.

	PR testsuite/pr102751

gcc/testsuite/ChangeLog:

	* gcc.dg/tree-ssa/pr102736.c: Make sign explicit.
This commit is contained in:
Aldy Hernandez 2021-10-15 12:53:32 +02:00
parent e7ce32c783
commit 914e917279

View file

@ -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: