tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: C++ exceptions in C [was: Re: CVS commit: src/external/bsd/atf/dist/atf-c++]

In article 
Julio Merino  <> wrote:
>Hi toolchainers,
>[ Please CC me any replies ]
>Can anyone that understands the C/C++ ABI provide some insight on the
>change below?  I'm interested in knowing which behavior is right
>(i386's or amd64's) or if this is behavior is just undefined.  In the
>former case, I'll write a test case for the problem; in the latter,
>I'll just ignore it :-P
>Summarizing: what should happen when a C++ function calls a C function
>that, in turn, calls another C++ function that throws exceptions?  Up
>to where should exceptions propagate?  Intuition tells me that they
>should never reach C land.  (Yeah, no comments on this bizarre

I think it is undefined.


Home | Main Index | Thread Index | Old Index