2nd posting: exceptions and asm() blocks on x86

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Thu Oct 2 22:06:00 GMT 2003


"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



More information about the Gcc-help mailing list