This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc optimization option flags



They do, and that's right. Unless you select -O you don't get any optimizations, no matter what other flags you set.

Thank you very much for the clarification.
Do I need to set -O1 for case-1 and case-2: "-O followed by disabling all -O1 flags" (ie -O0 equivalently)?


Thanks
Swami


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]