🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #353

gcc 2.1 -fstrength-reduce compiler-abort

#353
From: fk
Date: Thu, 09 Apr 1992 11:48
42 lines
1590 bytes
Greetings

With gcc 2.1 on a sparc, SunOS 4.1.1.  When compiling the following
function with '-O -fstrength-reduce', the compiler returns:

gcc: Internal compiler error: program cc1 got fatal signal 6

Note this script:

> Script started on Thu Apr  9 18:38:57 1992
> 1 % cat zz.c
> 
> joe()
>   {
>     int j;
> 
>     while( 1 )
>       {
>         for( j = 0; j < 4; j++ )
>           ;
>         for( j = 0; j < 4; j++ )
>           ;
>       }
>   }
> 
> 2 % gcc -v -O -fstrength-reduce -c zz.c
> Reading specs from /tv/lib/gcc/sparc/2.1/specs
> gcc version 2.1
>  /tv/lib/gcc/sparc/2.1/cpp -lang-c -v -undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix -D__OPTIMIZE__ zz.c /usr/tmp/cca01009.i
> GNU CPP version 2.1 (sparc)
>  /tv/lib/gcc/sparc/2.1/cc1 /usr/tmp/cca01009.i -quiet -dumpbase zz.c -O -version -fstrength-reduce -o /usr/tmp/cca01009.s
> GNU C version 2.1 (sparc) compiled by GNU C version 2.0.
> gcc: Internal compiler error: program cc1 got fatal signal 6
> 
> 3 % exit
> 
> script done on Thu Apr  9 18:39:41 1992

Thanks

Francis Kauth
fk@tv.tv.tek.com
Technical Details
Message-ID: <9204100148.AA01041@barely.tv.tek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tv.tv.tek.COM!fk

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tv.tv.tek.COM!fk
From: fk@tv.tv.tek.COM
Subject: gcc 2.1 -fstrength-reduce compiler-abort
Message-ID: <9204100148.AA01041@barely.tv.tek.com>
Sender: gnulists@ai.mit.edu
Reply-To: fk@tv.tv.tek.com
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 9 Apr 1992 11:48:11 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 43