Cleanups of TARGET_EXPR
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Fri Jan 6 20:19:00 GMT 2006
Hello,
what exactly is the semantics of the cleanup for TARGET_EXPR?
Documentation says:
> Often, a @code{TARGET_EXPR} occurs on the right-hand side of an
> assignment, or as the second operand to a comma-expression which is
> itself the right-hand side of an assignment, etc. In this case, we say
> that the @code{TARGET_EXPR} is ``normal''; otherwise, we say it is
> ``orphaned''.
...
> If this expression is orphaned, then this expression must be executed
> when the statement containing this expression is complete.
What does "etc." in the definition of ``normal'' mean? Is say target_expr in
a = b ? TARGET_EXPR : something;
orphaned? If TARGET_EXPR is not orphaned, is it allowed to run its cleanup?
Zdenek
More information about the Gcc
mailing list