Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

want -fforce-omit-frame-pointer option #50

Open
pfmooney opened this issue Apr 4, 2023 · 1 comment
Open

want -fforce-omit-frame-pointer option #50

pfmooney opened this issue Apr 4, 2023 · 1 comment

Comments

@pfmooney
Copy link
Member

pfmooney commented Apr 4, 2023

Although the unwillingness for the patched-for-illumos gcc to omit frame pointers is useful nearly all of the time, there are occasions when it is unacceptable. There is a small body of software (such as BIOSes and JITs) where forcefully including frame pointers can negatively impact the correctness of the compiled artifacts. We should include an escape hatch -fforce-omit-frame-pointer for use in such situations.

@citrus-it
Copy link
Member

Although I'd completely forgotten that I did it, the OmniOS gcc-12 has this option.

omniosorg@5fe0e17

citrus-it added a commit to omniosorg/gcc that referenced this issue Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants