question in failing to use the -O2 option parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I use gcc -S -O2 test.c , the main function part in the output .s file is empty.
But my last try with gcc -S test.c works normally. The C code was correctly compiled to asembly file. Plz tell me how to use the optimization options.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux