https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118224
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 60037 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60037&action=edit gcc15-pr118224.patch Untested patch which implements that. This will make dumb conformance tests happy, if one tries to obfuscate with volatile, they will still fail, just use -fno-malloc-dce in that case or obfuscate the return value through volatile or similar as well.