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?


Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de> writes:
> On Wed, 12 Mar 2003, Will Newton wrote:
> > I have some code[1] that breaks when compiled with gcc 3.2 -O1.  I
> > have tried enabling all these optimizations:
> Try -S -fverbose-asm and look at the .s file.

Try extracting the minimum amount of code that will break.  Start with
the entire program if necessary, and remove pieces bit by bit.

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, PDP-10, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/


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