This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Whetstone.c crashes gcc: Internal compiler
- To: gnu-win32 at cygnus dot com
- Subject: Re: Whetstone.c crashes gcc: Internal compiler
- From: Charles J Razzell <crazzell at fnc dot pcc dot philips dot com>
- Date: Fri, 29 May 1998 15:14:23 -0700
> Hello,
>
> I just tried to compile
>
> http://www.netlib.no/netlib/benchmark/whetstone.c
>
> on GNU-Win32 19.1. GCC reported
>
> gcc: Internal error: program cc1 got fatal signal 6
>
> and stopped compilation. LCC-Win32 had no problems and
> the .exe works. Notice this version of Whetstone has date
> 22 March 1998.
>
>
I get the sampe problem, but only with certain levels of optimisation
switched on.
> gcc -O2 whetstone.c -o whetstone
> ./whetstone.exe
Loops: 1000, Iterations: 1, Duration: 2 sec.
C Converted Double Precision Whetstones: 50.0 MIPS
> gcc -O whetstone.c -o whetstone
gcc: Internal compiler error: program cc1 got fatal signal 6
> gcc -O1 whetstone.c -o whetstone
gcc: Internal compiler error: program cc1 got fatal signal 6
Hence, both -O and -O1 are causing the compiler to fall over, all other
levels including no optimisation and -O3 work fine.
I hope this helps.
Regards,
Charles Razzell.
begin: vcard
fn: Charles Razzell
n: Razzell;Charles
org: PCC
email;internet: crazzell@fnc.pcc.philips.com
tel;work: +1 510 445 5630
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard