projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b48ccf0
)
Fix previous commit.
author
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 28 Oct 2012 09:58:38 +0000
(09:58 +0000)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Sun, 28 Oct 2012 09:58:38 +0000
(09:58 +0000)
From-SVN: r192889
gcc/ipa-inline.c
patch
|
blob
|
history
diff --git
a/gcc/ipa-inline.c
b/gcc/ipa-inline.c
index 227941af8a7cdd51f4f490fcae8a2b07e8dccf51..39e450dfd437a9dcfcd828676ef9a565c5dc7777 100644
(file)
--- a/
gcc/ipa-inline.c
+++ b/
gcc/ipa-inline.c
@@
-1337,6
+1337,7
@@
inline_small_functions (void)
int min_size, max_size;
VEC (cgraph_edge_p, heap) *new_indirect_edges = NULL;
int initial_size = 0;
+ struct cgraph_node **order = XCNEWVEC (struct cgraph_node *, cgraph_n_nodes);
if (flag_indirect_inlining)
new_indirect_edges = VEC_alloc (cgraph_edge_p, heap, 8);
@@
-1345,6
+1346,8
@@
inline_small_functions (void)
metrics. */
max_count = 0;
+ ipa_reduced_postorder (order, true, true, NULL);
+ free (order);
FOR_EACH_DEFINED_FUNCTION (node)
if (!node->global.inlined_to)