From: snowball3 AT bigfoot DOT com (Mark E.) Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc 2.95 compile speed Date: Mon, 02 Aug 1999 04:10:34 GMT Organization: Snowball's Web Message-ID: <37a519b5.3478948@news3.ibm.net> References: X-Newsreader: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.37.91.160 X-Trace: 2 Aug 1999 04:10:01 GMT, 129.37.91.160 Lines: 20 X-Notice: Items posted that violate the IBM.NET Acceptable Use Policy X-Notice: should be reported to postmaster AT ibm DOT net X-Complaints-To: postmaster AT ibm DOT net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Gisle Vanem wrote: >I've just installed gcc 2.95 (19990714 prerelease) and couldn't help >notice the decrease in compile speed. A rather large library used to >take 8 min with gcc 2.8.1. It now takes just over 11 minutes. An >increase of 37% ! > >Here's the gcc-flags if that would matter: > > CFLAGS = -c -O2 -g -I../inc -Wall -m486 -malign-loops=2 \ > -malign-jumps=2 -malign-functions=2 -fno-strength-reduce > -O2 does a lot more optimizing in 2.95 than it did in 2.8.1, thus the decrease in speed. Mark -- Mark E.: snowball3 AT bigfoot DOT com http://snowball.frogspace.net/