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-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100528102915.gb18...@minet.uni-jena.de

Reply via email to