mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 22:21:20 +08:00
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
This commit is contained in:
parent
96fa6d317f
commit
474086eb10
@ -1,3 +1,8 @@
|
||||
2011-02-28 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT
|
||||
of the copied scope tree.
|
||||
|
||||
2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* doc/extend.texi (Function Attributes): Avoid deeply (and
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user