aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-05-18 01:12:14 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-05-17 23:12:14 +0000
commit36576655d8466c9fa618c1da341b8dd2364a7f81 (patch)
tree0f2fbe98708e13805e97bc7b12c5a0033f23ce51 /gcc/cgraphunit.c
parent922f15c273e96e7bff9fecb9c0cbd90a5709f839 (diff)
downloadgcc-36576655d8466c9fa618c1da341b8dd2364a7f81.zip
gcc-36576655d8466c9fa618c1da341b8dd2364a7f81.tar.gz
gcc-36576655d8466c9fa618c1da341b8dd2364a7f81.tar.bz2
cgraph.c (cgraph_create_virtual_clone): Only check versionable_function_p when not in wpa and checking is enabled.
* cgraph.c (cgraph_create_virtual_clone): Only check versionable_function_p when not in wpa and checking is enabled. * cgrpahunit.c (cgraph_materialize_all_clones): Stabilize after there are no more functions to materialize. * lto/lto.c (lto_1_to_1_map): Partition non-inline clones. (lto_promote_cross_file_statics): Deal with non-inline clones. From-SVN: r159518
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index 7618dd0..c811d49 100644
--- a/gcc/cgraphunit.c
+++ b/gcc/cgraphunit.c
@@ -2425,9 +2425,8 @@ cgraph_materialize_all_clones (void)
}
}
cgraph_materialize_clone (node);
+ stabilized = false;
}
- else
- stabilized = false;
}
}
}