-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add -O4 flag for link-time optimization #15818
Comments
The |
I still like it... |
The |
This flag would be very misleading and limited, it would have to imply one of the optimisations levels and LTO, e.g. optimisation level 3 and LTO. What if I want to optimise for size and still do LTO? I am voting to close this 👎 |
@errordeveloper And it hopefully won't be |
I think @alexchandel: -Os in |
Closing in favour of #12443. |
Currently we have
-Z lto
which will "Perform LLVM link-time optimizations". Clang has the-O4
flag for that purpose, which is convenient and makes sense.The text was updated successfully, but these errors were encountered: