]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Give up if there is no offset_vectype.
authorRobin Dapp <rdapp@ventanamicro.com>
Fri, 7 Nov 2025 16:18:02 +0000 (17:18 +0100)
committerRobin Dapp <rdapp@ventanamicro.com>
Mon, 10 Nov 2025 12:50:26 +0000 (13:50 +0100)
commit3e8cc2f09de83dc203cd86573e39f2a3e9621d8a
tree5f7abab98c1d1566bd272420d92957edb6f16440
parent0f8bcacf6c4603cb7614aa23ef4a9568e46bddfa
vect: Give up if there is no offset_vectype.

vect_gather_scatter_fn_p currently ICEs if offset_vectype is NULL.
This is an oversight in the patches that relax gather/scatter detection.
Catch this.

gcc/ChangeLog:

* tree-vect-data-refs.cc (vect_gather_scatter_fn_p): Bail if
offset_vectype is NULL.
gcc/tree-vect-data-refs.cc