From: "Patrick Mitran" Newsgroups: comp.os.msdos.djgpp References: <2rVK6.20535$z01 DOT 3117219 AT carnaval DOT risq DOT qc DOT ca> <7458-Sat12May2001083424+0300-eliz AT is DOT elta DOT co DOT il> Subject: Re: -O6 optimizations Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Mon, 14 May 2001 15:26:05 GMT NNTP-Posting-Host: 198.168.182.77 X-Complaints-To: abuse AT mcgill DOT ca X-Trace: carnaval.risq.qc.ca 989853965 198.168.182.77 (Mon, 14 May 2001 11:26:05 EDT) NNTP-Posting-Date: Mon, 14 May 2001 11:26:05 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > > > I'm using gcc 2.95.3. I was wondering where I could get a list of all the > > optimizations that are turned on by -O6. > > "-O6" is the same as "-O3". The GCC manual explains what > optimizations are turned on by each -On option. I agree that this > section in the GCC docs needs work, but that's the best you can > currently have without looking at the sources (which you should do if > you really want all the gory details). > > "-O6" only does some real work in the PGCC variant of the compiler, > which is not what you have (and which is not on the main branch of the > GCC development anyway). > Really? This would seem to contradict the FAQ which explicitly states that GCC 2.95 and above does some extra work with -O6. (section 14.2) Or am I reading it wrong? P.