------- Comment #8 from bonzini at gnu dot org 2009-11-03 12:23 ------- Created an attachment (id=18953) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18953&action=view) patch to fix the bug
The attached patches together reduce the stack usage of expression parsing by ~30%. On a 64-bit machine with 8 MB the parsing now fails after 10300 recursions instead of 7100. This still means that one pair of parentheses consumes about 100 words on the stack. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827