diff options
author | Richard Biener <rguenther@suse.de> | 2025-09-02 09:50:14 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-09-02 12:51:12 +0200 |
commit | 861b7c054e5f356722e6e1a1b043de5d7a412499 (patch) | |
tree | 680c887446d6ade706266ef35a606c719ace3f7b /libgcc | |
parent | 0b6f1de05e2b1e25ac4cf8659bc3c4b5b3bac734 (diff) | |
download | gcc-861b7c054e5f356722e6e1a1b043de5d7a412499.zip gcc-861b7c054e5f356722e6e1a1b043de5d7a412499.tar.gz gcc-861b7c054e5f356722e6e1a1b043de5d7a412499.tar.bz2 |
tree-optimization/121754 - ICE with vect_reduc_type and nested cycle
The reduction guard isn't correct, STMT_VINFO_REDUC_DEF also exists
for nested cycles not part of reductions but there's no reduction
info for them.
PR tree-optimization/121754
* tree-vectorizer.h (vect_reduc_type): Simplify to not ICE
on nested cycles.
* gcc.dg/vect/pr121754.c: New testcase.
* gcc.target/aarch64/vect-pr121754.c: Likewise.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions