extremely large expressions fail to compile

Alexandre Oliva oliva@dcc.unicamp.br
Sun Oct 4 19:39:00 GMT 1998


David Whysong <dwhysong@physics.ucsb.edu> writes:

> [text/plain]
> On 2 Oct 1998, Alexandre Oliva wrote:

>> David Whysong <dwhysong@physics.ucsb.edu> writes:
>> 
>>> gcc: Internal compiler error: program cc1 got fatal signal 11
>> 
>> A stack trace, as well as the source code in question, would certainly
>> help.  bzip2/gzip base64/uuencode are fine.

> Here's the source.

I managed to compile it on a i686 running RedHat Linux 5.0+egcs 1.1.
It had 400MB of free swap space when I started the compilation.

> I'm not sure how to do a stack trace, any pointers? 

Run gcc with -v and find out the command line it uses to run cc1.
Then, start cc1 with that command line within gdb, and wait until it
crashes.  Then, type `where'; it will print a complete stack trace.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list