🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #560

Compiling long equations

#560
From: Magnus Nordborg
Date: Tue, 07 Apr 1992 17:50
28 lines
1405 bytes
I'm trying to compile some very long (16 X ~500 terms) equations for numerical
work. When I try to compile this using the NeXT version of gcc (1.36) WITH 
optimization I get:
 
	"Internal compiler error.  Program cc1 got fatal signal 11."

Same (?) thing happens using Sun C 1.1:

	"compiler error: out of tree space; try simplifying"

The code DOES compile WITHOUT optimization under NeXT's gcc. It also compiles
WITH optimization under gcc 2.0 on a Sparc 1+ (it takes eons) and under "c89" 
on an R6000 (it takes considerably less than eons).

My question is: Is there a way to get around this problem (like some switch),
or must I get a newer compiler on the NeXTs (and throw out Sun C 1.1 on the
Sparcs :)?

-- 


			Magnus Nordborg
			Department of Biological Sciences
			Stanford University
			Stanford, CA 94301-5020
			USA
			(415) 723-4952
			magnus@Kimura.Stanford.EDU
Technical Details
Message-ID: <1992Apr7.175008.14776@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!Leland.Stanford.EDU!Kimura.Stanford.EDU!magnus

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer,gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!Leland.Stanford.EDU!Kimura.Stanford.EDU!magnus
From: magnus@Kimura.Stanford.EDU (Magnus Nordborg)
Subject: Compiling long equations
Message-ID: <1992Apr7.175008.14776@leland.Stanford.EDU>
Keywords: numerical, SIGSEGV, tree space
Sender: news@leland.Stanford.EDU (Mr News)
Organization: Department of Biological Sciences, Stanford University
Date: Tue, 7 Apr 92 17:50:08 GMT
Lines: 31