This is the mail archive of the gcc-patches@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: ia64 c++ abi exception handling


On Mon, Mar 12, 2001 at 05:24:47PM +0000, Andrew Haley wrote:
> Finally, the ability to throw an exception on a bad pointer access is
> also valuable to embedded C++ applications.  At the moment, C++
> programs can legally use longjmp() to resume after a SEGV, and it is
> IMO perverse not to allow throw.

Yes, but would you be ok with making you mark each pointer
access that you expect might fault?  I'm assuming it's not
each and every access that comes out of the front end.

Adding hooks to do unwinding through signal handlers is on
my to-do list.



r~


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