On Wed, Jan 08, 2014 at 12:15:40PM +0100, Richard Biener wrote: > > I start to think this is a too complex transform for stmt folding ... > > Alternatively do update_call_from_tree (gsi, get_or_create_ssa_default_def > (cfun, create_tmp_var (TREE_TYPE (lhs)))).
The lhs might not be is_gimple_reg_type though. What to do in that case? Jakub