https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109140
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #5 from Mikael Pettersson <mikpelinux at gmail dot com> ---
I can reproduce with a cross to sparc64-linux-gnu hosted on x86_64-linux-gnu.
git bisect between 11.3.0 (good) and 12.2.0 (bad) identified:
2b8453c401b699ed93c085d0413ab4b5030bcdb8 is the first bad commit
commit 2b8453c401b699ed93c085d0413ab4b5030bcdb8
Author: liuhongt <[email protected]>
Date: Mon Sep 6 13:48:49 2021 +0800
Enable auto-vectorization at O2 with very-cheap cost model.
which tells me the issue is pre-existing.