[GOOGLE] call compute_inline_parameters before early_inliner

2014-02-26 Thread Dehao Chen
This patch fixes the bug of not calling compute_inline_parameters before early_inliner, which would lead to ICE. Testing on going, OK for google-4_8 if test passes? Thanks, Dehao Index: gcc/auto-profile.c === --- gcc/auto-profile.c

Re: [GOOGLE] call compute_inline_parameters before early_inliner

2014-02-26 Thread Xinliang David Li
On Wed, Feb 26, 2014 at 3:23 PM, Dehao Chen de...@google.com wrote: This patch fixes the bug of not calling compute_inline_parameters before early_inliner, which would lead to ICE. Testing on going, OK for google-4_8 if test passes? Thanks, Dehao Index: gcc/auto-profile.c

Re: [GOOGLE] call compute_inline_parameters before early_inliner

2014-02-26 Thread Dehao Chen
Yes, patch updated: Index: gcc/auto-profile.c === --- gcc/auto-profile.c (revision 207970) +++ gcc/auto-profile.c (working copy) @@ -1371,8 +1371,7 @@ afdo_vpt_for_early_inline (stmt_set *promoted_stmt calculate_dominance_info

Re: [GOOGLE] call compute_inline_parameters before early_inliner

2014-02-26 Thread Xinliang David Li
ok. David On Wed, Feb 26, 2014 at 3:43 PM, Dehao Chen de...@google.com wrote: Yes, patch updated: Index: gcc/auto-profile.c === --- gcc/auto-profile.c (revision 207970) +++ gcc/auto-profile.c (working copy) @@ -1371,8 +1371,7