aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-04-30 11:29:44 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-04-30 09:29:44 +0000
commit8b4765bf42585ab649517308c69d4df7e570636d (patch)
tree49d92e570e073cfdedbda44a392d33179b9136d6 /gcc/ipa-inline.c
parente7fc9c75d0e914748acda8cd682479fbe9da38e9 (diff)
downloadgcc-8b4765bf42585ab649517308c69d4df7e570636d.zip
gcc-8b4765bf42585ab649517308c69d4df7e570636d.tar.gz
gcc-8b4765bf42585ab649517308c69d4df7e570636d.tar.bz2
cgraph.h (cgraph_local_info): Remove for_functions_valid.
* cgraph.h (cgraph_local_info): Remove for_functions_valid. (cgraph_global_info): Remove inlined. (LTO_cgraph_tag_names): Remove. (LTO_cgraph_tags, LCC_NOT_FOUND): Move to ... * lto-cgraph.c (LTO_cgraph_tags, LCC_NOT_FOUND): ... here; simplify cgraph tags and document. (lto_output_node): Use only LTO_cgraph_unavail_node and LTO_cgraph_analyzed_node; Do not save analzed, reachable, for_functions_valid, global info, process and output flags. (input_overwrite_node): Initialize estimated stack size and estimated growth. Do not read flags we no longer store. (input_node): Likewise do not read info no longer stored. * ipa-inline.c (cgraph_mark_inline_edge): Do not set global.inlined flag. From-SVN: r158926
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r--gcc/ipa-inline.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c
index 3bab205..e18a0cd 100644
--- a/gcc/ipa-inline.c
+++ b/gcc/ipa-inline.c
@@ -310,10 +310,7 @@ cgraph_mark_inline_edge (struct cgraph_edge *e, bool update_original,
gcc_assert (e->inline_failed);
e->inline_failed = CIF_OK;
-
- if (!e->callee->global.inlined)
- DECL_POSSIBLY_INLINED (e->callee->decl) = true;
- e->callee->global.inlined = true;
+ DECL_POSSIBLY_INLINED (e->callee->decl) = true;
cgraph_clone_inlined_nodes (e, true, update_original);