Error handling requirements of inlining code.

Henry Spencer henry at utzoo.uucp
Sun Aug 27 07:53:46 AEST 1989


In article <20708 at sequent.UUCP> paulr at sequent.UUCP (Paul Reger) writes:
>Have a question about inlining code.  Say a compiler is able to inline
>code for optimzation reasons.  What error handling requirements are
>imposed on the compiler when doing so ??

It comes under the "as if" rule:  the behavior must be *the* *same* as
if inlining had not occurred -- insofar as ANSI C constrains the
behavior -- if you want to be standard-conforming.

Yes, this is a pain for error handling in math functions.
-- 
V7 /bin/mail source: 554 lines.|     Henry Spencer at U of Toronto Zoology
1989 X.400 specs: 2200+ pages. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.std.c mailing list