public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4435] Make signness explicit in tree-ssa/pr102736.c
@ 2021-10-15 10:59 Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-10-15 10:59 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:914e9172792737606595216e2b77c104abba7c5c
commit r12-4435-g914e9172792737606595216e2b77c104abba7c5c
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Fri Oct 15 12:53:32 2021 +0200
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.
Diff:
---
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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-15 10:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15 10:59 [gcc r12-4435] Make signness explicit in tree-ssa/pr102736.c Aldy Hernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).