http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60469
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #7) > (In reply to Igor Zamyatin from comment #6) > > Yes, I was going to post it after complete testing > > You should set DECL_SEEN_IN_BIND_EXPR_P when setting > DECL_CONTEXT, similar to gimple_add_tmp_var. Or we can use create_tmp_var.