diff options
author | Richard Guenther <rguenther@suse.de> | 2011-02-28 10:23:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-02-28 10:23:14 +0000 |
commit | 474086eb101daefa4b529d57ff79a27374084b49 (patch) | |
tree | e75146298def5c025a9897f5028411c403d07215 /gcc/tree-inline.c | |
parent | 96fa6d317f5a590d13cf12d7d59b5986e417049a (diff) | |
download | gcc-474086eb101daefa4b529d57ff79a27374084b49.tar.gz |
tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT of the copied scope tree.
2011-02-28 Richard Guenther <rguenther@suse.de>
* tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT
of the copied scope tree.
From-SVN: r170558
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index de30cfd67ef..fd8edb4a2e6 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -5156,6 +5156,7 @@ tree_function_versioning (tree old_decl, tree new_decl, args_to_skip, &vars); DECL_INITIAL (new_decl) = remap_blocks (DECL_INITIAL (id.src_fn), &id); + BLOCK_SUPERCONTEXT (DECL_INITIAL (new_decl)) = new_decl; declare_inline_vars (DECL_INITIAL (new_decl), vars); |