cnhnln 发表于 2003-8-11 18:42:36

如果编译软件时既用了-O2,又用了-O3,那到底是用的什么参

这种优化参数有没有“优先级”的问题

cnhnln 发表于 2003-9-2 16:50:32

man gcc
If you use multiple -O options, with or without level numbers, the last such option is the one that is effective.
页: [1]
查看完整版本: 如果编译软件时既用了-O2,又用了-O3,那到底是用的什么参