[Imap-uw] GCC Optimization Levels

2007-02-10 Thread Aaron W. LaFramboise
While trying to get a little bit more performance out of 2006e imapd, I found the interesting GCC optimization discussion in src/osdep/unix/Makefile. > The general concensus seems to be that -O2 is the one to use. Over > the years, I've been told to use many different settings, including > -O6

Re: [Imap-uw] GCC Optimization Levels

2007-02-10 Thread Mark Crispin
Thank you for your comments about GCC optimization levels. I can assure you that it is no myth that -O6 generates bad code. That comment came about because I personally experienced the bad code. So there is some gcc version out there that does something special with -O6 and generates bad cod