Newsgroups: comp.os.msdos.djgpp From: design AT netcom DOT com (Chris Waters) Subject: Re: Optimization Message-ID: Organization: Design and Delivery References: Date: Fri, 29 Nov 1996 21:44:46 GMT Lines: 21 Sender: design AT netcom19 DOT netcom DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , Eli Zaretskii wrote: >On Wed, 27 Nov 1996, Glen Miner wrote: >> Umm, just a suggestion: this information _REALLY_ should find it's way >> into the faq. I did do a quick check for this kind of info and didn't >> come up with anything. >The FAQ cannot be a treatise on optimizations, because the effect of each >optimization switch depend *heavily* on the program. As I've said >elsewhere, -O3 can make your program slower than -O2 (it surely makes it >larger), and I have real-world programs to prove this. Explaining all >these intricacies will make a good book, not a FAQ. Moreover, issues like optimization apply to all versions of GCC (many of them to different processors). One thing that might be good to have in the faq, if it isn't there already, is a pointer to the FSF's gcc faq, and maybe a brief discussion of what sort of things are djgpp-specific issues, and what are gcc-related issues, and where to get more gcc- related info, e.g. the gnu.gcc.* and gnu.g++.* newsgroups.