相当于pgcc" -Minfo =" gcc编译器的标志?

时间:2013-03-07 14:06:31

标签: gcc compiler-optimization pgcc

我刚刚在pgcc中发现了很好的“-Minfo =”标志,它输出了编译器正在进行的所有优化。

IE:

pgcc -c -pg -O3 -Minfo=all -Minline    -c -o example.o example.c
run:
 55, Memory zero idiom, loop replaced by call to __c_mzero8
 91, Memory zero idiom, loop replaced by call to __c_mzero8
pgcc -c -pg -O3 -Minfo=all -Minline    -c -o controller.o controller.c
main:
 82, second inlined, size=4, file controller.c (113)
 84, second inlined, size=4, file controller.c (113)

GCC是否有等效的编译器标志?

0 个答案:

没有答案