This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 2nd posting: exceptions and asm() blocks on x86
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: 03 Oct 2003 00:06:42 +0200
- Subject: Re: 2nd posting: exceptions and asm() blocks on x86
- References: <025301c3892a$04e4ef90$1400a8c0@astral>
"John S. Yates, Jr." <jyates@netezza.com> writes:
> I have recently debugged an exception failure in our multi-precision
> arithmetic package. The problem was that when overflow was signaled
> the catch block was never found.
>
> [...]
>
> Is this a bug or an expected limitation? If the latter, is it
> documented anywhere?
It's an expected limitation. asm's are not supposed to change the
control flow. The manual could probably more explicit about this... In
this case, most likely the stack unwinder is missing the additional
information normally generated by gcc.
--
Falk