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]

Re: Catching stack overflow errors


"Earl S. Harris, Jr." <esharris@mitre.org> writes:
> I think this is important if the following conditions hold.
> 
> 1. A programmer wants to use non tail recursion in his/her C++ program.
> 2. He/she doesn't want the program to crash inelegantly.

It is also important for other languages supported by GCC.  Java
implementations are required to throw exceptions when a stack is blown
but gcj currently ignores this.

AG

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California

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