Date: Fri, 18 Sep 92 08:09:19 CDT From: bobp AT hal DOT com (Bob Pendelton) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Optimizations Can someone point me at a document that shows which optimizations are turned on by -O and -O2 in djgpp? I have "Using GNU CC" but the actual optimzations that are done by a particular version of gcc may be different from those listed in the manual. I have a program that I've ported from a sparc/unix environment that works perfectly until I turn on -O or -O2 optimization, and then it segvs immediately, and I'm trying to track down which optimizations are conflicting with the original authors ideas of what is safe coding :-) Bob P.