]> git.ipfire.org Git - people/ms/gcc.git/commit
tree-optimization/107435 - ICE with recurrence vectorization
authorRichard Biener <rguenther@suse.de>
Fri, 28 Oct 2022 11:50:57 +0000 (13:50 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 28 Oct 2022 13:07:02 +0000 (15:07 +0200)
commit084128583212bd64308f50c2ab5f4c03be40e48c
treebc8dafad8ec688878a9a6fc072c96710e5a08396
parent89999f2358724fa4e71c7c3b4de340582c0e43da
tree-optimization/107435 - ICE with recurrence vectorization

This implements the missed conversion from pointer to integer.

PR tree-optimization/107435
* tree-vect-loop.cc (vectorizable_recurr): Convert initial
value to vector component type.

* gcc.dg/torture/pr107435.c: New testcase.
gcc/testsuite/gcc.dg/torture/pr107435.c [new file with mode: 0644]
gcc/tree-vect-loop.cc