On 12/03/2013 10:22 AM, Iyer, Balaji V wrote:
Please remove these langhooks and instead add handling of
CILK_SPAWN_STMT to c_gimplify_expr and cp_gimplify_expr.

        I really cannot do this because if the spawned function returns a 
value, the whole expression must be pushed into the spawn helper. Thus, this 
lang_hooks function is called in the gimplify_modify_expr and a couple other 
places.

Then c/cp_gimplify_expr can check for that in MODIFY_EXPR and CALL_EXPR nodes as well.

Jason

Reply via email to