[Bug c/18602] segfault on a huge switch statement.

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Nov 22 00:47:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-11-22 00:47 -------
I am not sure what we are supposed to do with this. Any kind of tree traversal 
and deletion is inherently recursive, and will hit a segfault sooner or later, 
if you push it hard enough. If an user really needs something degenerate like 
this, she should probably increase her stack limit.

I'm really tempted to mark this as WONTFIX, unless you have a constructive 
suggestion on what to do.

-- 


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



More information about the Gcc-bugs mailing list