From 7ba950d31d0cbf135d5fab8da26a37fb580df86e Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Wed, 27 Sep 2017 06:37:18 +0000 Subject: [PATCH] pr65947-9.c: Requires char to be signed by default. Fails on S/390 with char defaulting to unsigned char. gcc/testsuite/ChangeLog: 2017-09-27 Andreas Krebbel * gcc.dg/vect/pr65947-9.c: Use signed char explicitly. From-SVN: r253224 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/vect/pr65947-9.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d4f431339c0..a61d510036c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Andreas Krebbel + + * gcc.dg/vect/pr65947-9.c: Use signed char explicitly. + 2017-09-26 Michael Meissner * gcc.target/powerpc/pr71977-1.c: Update test to know that we diff --git a/gcc/testsuite/gcc.dg/vect/pr65947-9.c b/gcc/testsuite/gcc.dg/vect/pr65947-9.c index d769af9ec73..e8f20aabbdd 100644 --- a/gcc/testsuite/gcc.dg/vect/pr65947-9.c +++ b/gcc/testsuite/gcc.dg/vect/pr65947-9.c @@ -10,7 +10,7 @@ extern void abort (void) __attribute__ ((noreturn)); vectorize because the vectorisation requires a slot for default values. */ signed char __attribute__((noinline,noclone)) -condition_reduction (char *a, char min_v) +condition_reduction (signed char *a, signed char min_v) { signed char last = -72; -- 2.30.2