Subject: Re: new toolchain: cannot compile float with optimization
To: Christian Groessler <cpg@aladdin.de>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 04/10/2002 10:30:58
At 12:17 PM 4/10/2002 +0200, Christian Groessler wrote:
>Hi,
>
>I've installed a ELF snapshot, I compiled from yesterday's CVS.
>
>The installed compiler ... (see subject)
>
>
>vaxentoy:~/tmp$ cc -O2 float.c -o float
>cc: Internal compiler error: program cc1 got fatal signal 11
>
>vaxentoy:~/tmp$ cc -O float.c -o float
>cc: Internal compiler error: program cc1 got fatal signal 11
>
>vaxentoy:~/tmp$ cc float.c -o float
>
>vaxentoy:~/tmp$ ./float
>result: 46.400000

It works for me.  But that's before the sh3 changes went in....
It also works with a i386->vax cc1 with the sh3 changes.

matt@cougar> cc -O2 -o float f.c
matt@cougar> ./float
result: 46.400000
matt@cougar> cc -O -o float f.c
matt@cougar> ./float
result: 46.400000
matt@cougar> sysctl hw.model
hw.model = VAXstation 4000/90
matt@cougar> cc -v
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb1)



-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message