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

Bug: clang unsupported flag '-fschedule-insns2' added when -fomit-frame-pointer is passed #1359

Open
lolgab opened this issue Jan 25, 2025 · 0 comments
Labels
low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches)

Comments

@lolgab
Copy link

lolgab commented Jan 25, 2025

Contact Details

No response

What happened?

When you pass -fomit-frame-pointer and -mclang, cosmocc here adds -fschedule-insns2 which is not supported by clang which emits this warning:

clang: warning: optimization flag '-fschedule-insns2' is not supported [-Wignored-optimization-argument]

Version

cosmocc (GCC) 14.1.0

What operating system are you seeing the problem on?

No response

Relevant log output

@lolgab lolgab added the low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches) label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low severity Used to report low severity bugs (e.g. cosmetic issues, non critical UI glitches)
Projects
None yet
Development

No branches or pull requests

1 participant