From: Andreas Krebbel Date: Wed, 27 Sep 2017 06:37:18 +0000 (+0000) Subject: pr65947-9.c: Requires char to be signed by default. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ba950d31d0cbf135d5fab8da26a37fb580df86e;p=gcc.git 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 --- 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;