https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105071
--- Comment #3 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to Martin Liška from comment #2) > Fixed on master with r10-3311-gff6686d2e5f797d6, if I add -fno-ipa-sra for > the revision, it's still correct. But it also works if you add -fno-inline ! ;-) Anyway, this is a duplicate of PR 97456 which I guess I should have also backported to GCC 9 but did not. I'll bootstrap and test the patch on the branch tomorrow.