mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +08:00
ipa-inline.c (can_inline_edge_p): Allow inlining of functions with same attributes.
* ipa-inline.c (can_inline_edge_p): Allow inlining of functions with same attributes. From-SVN: r222165
This commit is contained in:
parent
37dc4579fb
commit
86f46e3972
@ -1,4 +1,9 @@
|
||||
2015-04-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
|
||||
2015-04-17 Christian Bruel <christian.bruel@st.com>
|
||||
|
||||
* ipa-inline.c (can_inline_edge_p): Allow inlining of functions with
|
||||
same attributes.
|
||||
|
||||
2015-04-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
|
||||
|
||||
* ira-color.c (setup_left_conflict_sizes_p): Do not process
|
||||
node itself when computing left conflict subnode size.
|
||||
|
@ -515,7 +515,7 @@ can_inline_edge_p (struct cgraph_edge *e, bool report,
|
||||
else if (opt_for_fn (callee->decl, optimize_size)
|
||||
< opt_for_fn (caller->decl, optimize_size)
|
||||
|| (opt_for_fn (callee->decl, optimize)
|
||||
>= opt_for_fn (caller->decl, optimize)))
|
||||
> opt_for_fn (caller->decl, optimize)))
|
||||
{
|
||||
if (estimate_edge_time (e)
|
||||
>= 20 + inline_edge_summary (e)->call_stmt_time)
|
||||
|
Loading…
Reference in New Issue
Block a user