diff options
author | Jan Hubicka <jh@suse.cz> | 2009-03-01 12:05:00 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-03-01 11:05:00 +0000 |
commit | a3aadcc56b098c6475836ad61e82e057275684cf (patch) | |
tree | 366a59d3cc39917816f5e2e383390b2f84bbf41c /gcc/tree-inline.c | |
parent | 1cf5abb382f9dab7203ae6a8d9f2f4421190d1ff (diff) | |
download | gcc-a3aadcc56b098c6475836ad61e82e057275684cf.zip gcc-a3aadcc56b098c6475836ad61e82e057275684cf.tar.gz gcc-a3aadcc56b098c6475836ad61e82e057275684cf.tar.bz2 |
* tree-inline.c (tree_function_versioning): Output debug info.
From-SVN: r144516
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 65d5b88..8ff784a 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -4226,6 +4226,12 @@ tree_function_versioning (tree old_decl, tree new_decl, varray_type tree_map, old_version_node = cgraph_node (old_decl); new_version_node = cgraph_node (new_decl); + /* Output the inlining info for this abstract function, since it has been + inlined. If we don't do this now, we can lose the information about the + variables in the function when the blocks get blown away as soon as we + remove the cgraph node. */ + (*debug_hooks->outlining_inline_function) (old_decl); + DECL_ARTIFICIAL (new_decl) = 1; DECL_ABSTRACT_ORIGIN (new_decl) = DECL_ORIGIN (old_decl); |