This is the mail archive of the gcc@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]

Cleanups of TARGET_EXPR


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


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