79724677

Date: 2025-08-04 09:09:26
Score: 1
Natty:
Report link

After tinkering a bit, I discovered that adding -fomit-frame-pointer was enough to make the codegen output the same on each compiler. Looking at the history of this optimization, it looks like there's been a push to make it default disabled on all distros, which is a good thing of course. But in this case I am heavily dependent on reducing instruction usage down to the absolute minimum.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: gonzo