[Bug tree-optimization/121256] [13 Regression] ffmpeg miscompiled with -O2 -march=znver2 since r13-3327-g46a8e017d048ec
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 31 15:26:00 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121256
--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:41935f98c49c1d2681f8dae00367e8e9ae70d067
commit r13-9948-g41935f98c49c1d2681f8dae00367e8e9ae70d067
Author: Richard Biener <rguenther@suse.de>
Date: Sun Jul 27 18:42:25 2025 +0200
tree-optimization/121256 - properly support SLP in vectorizable recurrence
We failed to build the correct initialization vector. For VLA
vectors and a non-uniform initialization vector this rejects
vectorization for now.
PR tree-optimization/121256
* tree-vect-loop.cc (vectorizable_recurr): Build a correct
initialization vector for SLP_TREE_LANES > 1.
* gcc.dg/vect/vect-recurr-pr121256.c: New testcase.
* gcc.dg/vect/vect-recurr-pr121256-2.c: Likewise.
(cherry picked from commit 97ec33fed5caa8b64ae054b5bb8b122acb390124)
More information about the Gcc-bugs
mailing list