This is the mail archive of the gcc@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]

Catching stack overflow errors


Is there a machine independent way to catch stack overflow errors?

When I build a recursive program, I want to check if there is stack
overflow.
I have some solutions that work in one architecture, but not another.

Enclosed is a file that I use to test for stack overflow problems.

Thank You,
Earl

temp.cc


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