🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #693

Re: GCC 1.36: minor omission in xm-mips.h causes memory leak

#693
From: Dirk Grunwald
Date: Sun, 08 Oct 1989 20:15
20 lines
1157 bytes
this is truely a great fix. I was swapping to death until I installed.
Compiles that used to max out at 20+ meg now take 3 or 5.

There's another speedup you can add to ASM_SPEC:

replace

#define ASM_SPEC   "%{O:-O2} %{O2: -O2} %{!G32: %{G*}}			\
%{!G:%{!G32: -G 8}} %{G32: -G 32}"

with

#define ASM_SPEC   "-nocpp %{O:-O2} %{O2: -O2} %{!G32: %{G*}}		\
%{!G:%{!G32: -G 8}} %{G32: -G 32}"

Normally, the MIPS AS runs CPP, AS0 and then AS1; this eliminates one
of the file copies.

Dirk Grunwald -- Univ. of Colorado at Boulder	(grunwald@foobar.colorado.edu)
Technical Details
Message-ID: <12498@boulder.Colorado.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!boulder!grunwald@foobar.colorado.edu
References: <8910062350.AA06898@brillig.UMD.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!boulder!grunwald@foobar.colorado.edu
From: grunwald@foobar.colorado.edu (Dirk Grunwald)
Newsgroups: gnu.gcc.bug
Subject: Re: GCC 1.36: minor omission in xm-mips.h causes memory leak
Message-ID: <12498@boulder.Colorado.EDU>
Date: 8 Oct 89 20:15:21 GMT
References: <8910062350.AA06898@brillig.UMD.EDU>
Sender: news@boulder.Colorado.EDU
Reply-To: grunwald@foobar.colorado.edu
Distribution: gnu
Organization: University of Colorado at Boulder
Lines: 20
In-reply-to: jds@CS.UMD.EDU's message of 6 Oct 89 23:50:15 GMT