https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- -O2 -fno-ipa-pure-const helps though and the patch affected both.
jakub at gcc dot gnu.org via Gcc-bugs Sat, 19 Feb 2022 00:28:10 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104601
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- -O2 -fno-ipa-pure-const helps though and the patch affected both.