diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-11 21:28:32 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-11 21:28:32 +0000 |
commit | 54e3de714ab902032a9b63e19e899918632b282b (patch) | |
tree | c52430a69eeb61484fc062b9a5871e8770c318ac /gcc/ipa-inline.c | |
parent | 39908fd942fe2c7ca2ce59759b947d103e33108d (diff) | |
download | gcc-54e3de714ab902032a9b63e19e899918632b282b.tar.gz |
* ipa-inline.c (cgraph_edge_badness): Add "else" missing in the
previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.c')
-rw-r--r-- | gcc/ipa-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index 50b02fbf6f5..a3d93313cc4 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -496,7 +496,7 @@ cgraph_edge_badness (struct cgraph_edge *edge) /* When profiling is available, base priorities -(#calls / growth). So we optimize for overall number of "executed" inlined calls. */ - if (max_count) + else if (max_count) badness = ((int)((double)edge->count * INT_MIN / max_count)) / growth; /* When function local profile is available, base priorities on |