FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-28-2010, 10:29 AM
Falk Hueffner
 
Default Bug#583531: closed by Falk Hueffner ( Bug#583531: gcc-4.4: gcc dies with Internal error: Segmentation fault (program cc1))

On Fri, May 28, 2010 at 10:46:06AM +0200, Hendrik Tews wrote:
>
> The code simply contains ridiculously deeply nested expressions (about
> 11000 opening braces), so the compiler runs out of stack. Use "ulimit
> -s unlimited" if you really want to compile this.
>
> OK, thanks for the hint! Wouldn't it be more appropriate to give
> an error message about the stack space, in this case? Instead the
> compiler prints
>
> Please submit a full bug report.

Well, first a stack overflow might actually be a bug in gcc. Also, gcc
just gets a segmentation fault signal; I don't know of any portable
way to detect it was a stack overflow. So while nice, it might be
difficult to do.

Falk



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100528102915.GB18403@minet.uni-jena.de">http://lists.debian.org/20100528102915.GB18403@minet.uni-jena.de
 

Thread Tools




All times are GMT. The time now is 03:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org