r243046 - /branches/ARM/sve-branch/gcc/tree-vec...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Nov 30 19:07:00 GMT 2016


Author: rsandifo
Date: Wed Nov 30 19:07:09 2016
New Revision: 243046

URL: https://gcc.gnu.org/viewcvs?rev=243046&root=gcc&view=rev
Log:
Fix a failure in the Fortran matmul* tests

The vectoriser was calling vect_get_smallest_scalar_type without
having proven that the type actually is a scalar.  This seems to
be the intended behaviour: the ultimate test of whether the type
is interesting (and hence scalar) is whether an associated vector
type exists, but this is only tested later.

The patch simply makes the function cope gracefully with non-scalar
inputs.

Modified:
    branches/ARM/sve-branch/gcc/tree-vect-data-refs.c



More information about the Gcc-cvs mailing list