by DaveFlater · 2y ago · 0 comments
There definitely have been regressions with frame pointers being enabled, although we've fixed all the ones we've found in current (2024) Fedora.
-fno-schedule-insns2
-fno-omit-frame-pointers
-fno-optimize-sibling-calls
-mno-omit-leaf-frame-pointer
-fpatchable-function-entry=18,16
-fno-inline-functions-called-once
The only flag that's potentially problematic is -fno-optimize-sibling-calls since it breaks the optimal approach to writing interpreters and slows down code that's written in a more mathematical style.