[Bug rtl-optimization/90378] [9/10/11/12 regression] -Os -flto miscompiles 454.calculix after r266385 on Arm

mkuvyrkov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 1 10:02:29 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90378

--- Comment #12 from Maxim Kuvyrkov <mkuvyrkov at gcc dot gnu.org> ---
I'm now more of the opinion that this problem is due to the unfortunate stack
layout on older ARMv7 systems.  I.e., LTO increases stack usage, which causes
the process to run out of stack.  I don't think anything needs to be fixed on
GCC side, and, hopefully, we can fix this on our end by upgrading from 3.10
kernel to something more modern.


More information about the Gcc-bugs mailing list