]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid ICE with pointer reduction
authorRichard Biener <rguenther@suse.de>
Fri, 31 May 2024 13:17:10 +0000 (15:17 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 3 Jun 2024 07:24:24 +0000 (09:24 +0200)
commita1810364cd0c36d6408a4c386bdc504a021d68c7
treef80c2aba76ec37fd5f1c55e0eaf3979eda67f1c2
parentac306de7d5100d3682eae2270995a9abbe19db38
Avoid ICE with pointer reduction

There's another case where we can refer to neutral_op before
eventually converting it from pointer to integer so simply
do that unconditionally.

* tree-vect-loop.cc (get_initial_defs_for_reduction):
Always convert neutral_op.
gcc/tree-vect-loop.cc