Subject: Re: port-vax/34783: gcc on -current vax is broken
To: None <gnats-bugs@NetBSD.org>
From: Michael L. Hitch <mhitch@NetBSD.org>
List: netbsd-bugs
Date: 05/02/2007 10:50:36
On Wed, 11 Oct 2006, oster@cs.usask.ca wrote:

>> Description:
> 	'gcc -O' and 'gcc -O2' (and perhaps others) die with "internal compiler error: Segmentation fault".

   The problem appears to be bad code generation when cc1 is compiled with 
-O2.  Building gcc with -O1 seems to generate a compiler that works.

   The vax port has been changed to use -O1 (with a few other specific 
optimizations needed to allow other parts of the vax build to work) on 
HEAD.  A pullup patch for the 4.0 branch is forthcoming.

--
Michael L. Hitch			mhitch@NetBSD.org