using '-g' with optimizations

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

 



I know this has been asked a million times, but...

The GCC docs say you can use -g along with optimizations. However -g implies that certain optimizations are disabled (e.g. function inlining). So I am curious as to what side affect adding -g along with -O2 will have on the generated code (no inlined functions etc...)

Thanks
-Jim


[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