[Bug middle-end/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 7 20:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-07 20:41:12 UTC ---
Created attachment 23576
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23576
hack

The c_parser_binary_expression stack impact could be decreased, either through
a hack like this (forcefully split the function, so that when calling the first
cast expression it will use smaller amount of stack, unfortunately the call
isn't then tail callable and thus for an actual binary expression needs more
stack), or stack/sp perhaps could be handled separately (global stack vector).



More information about the Gcc-bugs mailing list