aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2021-01-11 09:57:41 +0000
committerTamar Christina <tamar.christina@arm.com>2021-01-11 09:57:41 +0000
commitbd4298e1927f6c519d5b7829023b1db7e64592e6 (patch)
treeb88cbf80b5029f72ebb8d828eaa56a259ba55b35 /gcc/errors.c
parent39666d2b8858361b4921fe0ae87bba90a62d9b9a (diff)
downloadgcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.zip
gcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.tar.gz
gcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.tar.bz2
slp: handle externals correctly in linear_loads_p
This fixes a bug with externals and linear_loads_p where I forgot to save the value before returning. It also fixes handling of nodes with multiple children on a non VEC_PERM node. There the child iteration would already resolve the kind and the loads are All expected to be the same if valid so just return one. gcc/ChangeLog: * tree-vect-slp-patterns.c (linear_loads_p): Fix externals.
Diffstat (limited to 'gcc/errors.c')
0 files changed, 0 insertions, 0 deletions