[Bug middle-end/105071] [9 Regression] Incorrect code with -Os and complex<double>

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 29 16:48:24 GMT 2022


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.


More information about the Gcc-bugs mailing list