http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60469
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- (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.