www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/02/00:35:23

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: <Pine DOT UW2 DOT 3 DOT 95 DOT 990802023038 DOT 27766A-100000 AT bryggen DOT bgnett DOT no>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
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 <giva AT bryggen DOT bgnett DOT no> 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019