Subject: Re: port-vax/34783: gcc on -current vax is broken
To: None <port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Michael L. Hitch <mhitch@NetBSD.org>
List: netbsd-bugs
Date: 05/02/2007 16:55:02
The following reply was made to PR port-vax/34783; it has been noted by GNATS.

From: "Michael L. Hitch" <mhitch@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: port-vax-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-vax/34783: gcc on -current vax is broken
Date: Wed, 2 May 2007 10:50:36 -0600 (MDT)

 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