[Bug ipa/122976] Miscompile with mixed lto/non-lto, -O3 - stack variable getting clobbered with invalid values
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 10:34:18 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122976
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>The observability of the bug depends on (the equivalent of) calling `free` with an invalid pointer.
That sounds like maybe a misuse of the malloc attribute ...
More information about the Gcc-bugs
mailing list