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.
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com