Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法通过代码告诉 GCC 我希望它优化我的代码?还是只能通过命令行设置(例如“ gcc source.c -O2 -o out”)来完成?
gcc source.c -O2 -o out