[Bug tree-optimization/122976] Miscompile with mixed lto/non-lto, -O3 - stack variable getting clobbered with invalid values

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 18 17:31:25 GMT 2026


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

--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Created attachment 63967
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63967&action=edit
Small artificial testcase

Small artificial testcase that leads to checking error or miscompilation even
on master.


More information about the Gcc-bugs mailing list