This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

crash with too many stack variables


Hi,

    When you have too many local variables in a function (> 3000), with
-O1 for optimization,  gcc crash after a long-time; takes around 40
minutes before it crashes.

    We made all these locals 'static' and  and compiled -O0 option, it
went through. But, -O failed even with this change.  Does anybody have
an idea as to what might be the problem. We are ready to bump any limits
or any minor fixing to get this thing going.

    A general question, gcc chokes when functions are too large or have
too many statements or too deep a nesting level.  Is there a place where
I can find out all the currently applicable limits and is there a way to
fix them ourselves.

Thanks



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]