Message ID | 20170926113950.5472-4-krebbel@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
Series | vect testsuite adjustments for S/390 | expand |
On Tue, Sep 26, 2017 at 1:39 PM, Andreas Krebbel <krebbel@linux.vnet.ibm.com> wrote: > Fails on S/390 with char defaulting to unsigned char. Ok. > gcc/testsuite/ChangeLog: > > 2017-09-26 Andreas Krebbel <krebbel@linux.vnet.ibm.com> > > * gcc.dg/vect/pr65947-9.c: Use signed char explicitly. > --- > gcc/testsuite/gcc.dg/vect/pr65947-9.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/pr65947-9.c b/gcc/testsuite/gcc.dg/vect/pr65947-9.c > index d769af9..e8f20aa 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.9.1 >
diff --git a/gcc/testsuite/gcc.dg/vect/pr65947-9.c b/gcc/testsuite/gcc.dg/vect/pr65947-9.c index d769af9..e8f20aa 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;