This is the mail archive of the gcc-help@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]
Other format: [Raw text]

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


"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


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