[PATCH 3/5] pr65947-9.c: Requires char to be signed by default.
Richard Biener
richard.guenther@gmail.com
Tue Sep 26 13:29:00 GMT 2017
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
>
More information about the Gcc-patches
mailing list