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: Functions that always return


    > Why not?  On Alpha, for example, stack checking is part of the ABI.

    But all you get out of it is an abnormal termination,
    not a thrown exception in the language sense.

Depends on the language.  For Ada, a stack overflow raises the
pre-defined exception Storage_Error.  This is true when a Ada subprogram
calls a function in another language, such as C++, and it's the one that
overflows the stack.

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