diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-11 09:56:22 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-11 09:56:22 +0000 |
commit | b01ed657c575b8b75e89118335b086003d4075ba (patch) | |
tree | edc0bfeabae1434c102e88cec9a27b97dd98f2b3 /gcc/ipa-prop.c | |
parent | c1f42d49e48b65c3b5b48c193ed8a1f4351e48ae (diff) | |
download | gcc-b01ed657c575b8b75e89118335b086003d4075ba.tar.gz |
2011-01-11 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 168650
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@168651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r-- | gcc/ipa-prop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c index f85a4fff8dc..106fc231ca7 100644 --- a/gcc/ipa-prop.c +++ b/gcc/ipa-prop.c @@ -1483,6 +1483,10 @@ ipa_make_edge_direct_to_target (struct cgraph_edge *ie, tree target, tree delta) return NULL; ipa_check_create_node_params (); + /* We can not make edges to inline clones. It is bug that someone removed the cgraph + node too early. */ + gcc_assert (!callee->global.inlined_to); + cgraph_make_edge_direct (ie, callee, delta ? tree_low_cst (delta, 0) : 0); if (dump_file) { |