This is the mail archive of the gcc@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: What optimizations does -O1 enable?


> There are parts in the compiler that test for optimize > 0.  These won't
> be enabled unless you pass -O1.

Shouldn't they be moved into some -f flag, with -fexpensive-optimizations
coming to mind?  Would such a patch be accepted?

|_  _  _ __
|_)(_)| ),'
------- '---


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