Re: [PR 70965] Schedule extra pass_rebuild_cgraph_edges

2016-12-02 Thread Jan Hubicka
> Hi, > > On Fri, Nov 25, 2016 at 02:10:51PM +0100, Jan Hubicka wrote: > > > On Thu, Nov 24, 2016 at 5:44 PM, Martin Jambor wrote: > > > > > > > > ... > > > > > > > > 2016-11-24 Martin Jambor > > > > > > > > gcc/ > > > > * passes.def

Re: [PR 70965] Schedule extra pass_rebuild_cgraph_edges

2016-12-02 Thread Martin Jambor
Hi, On Fri, Nov 25, 2016 at 02:10:51PM +0100, Jan Hubicka wrote: > > On Thu, Nov 24, 2016 at 5:44 PM, Martin Jambor wrote: > > > > > > ... > > > > > > 2016-11-24 Martin Jambor > > > > > > gcc/ > > > * passes.def (pass_build_ssa_passes): Add > > >

Re: [PR 70965] Schedule extra pass_rebuild_cgraph_edges

2016-11-25 Thread Jan Hubicka
> On Thu, Nov 24, 2016 at 5:44 PM, Martin Jambor wrote: > > Hi, > > > > after discussing this with Honza, we have decided that scheduling an > > extra pass_rebuild_cgraph_edges after pass_fixup_cfg is the correct > > way to keep the cgraph consistent with gimple IL when early IPA

Re: [PR 70965] Schedule extra pass_rebuild_cgraph_edges

2016-11-25 Thread Richard Biener
On Thu, Nov 24, 2016 at 5:44 PM, Martin Jambor wrote: > Hi, > > after discussing this with Honza, we have decided that scheduling an > extra pass_rebuild_cgraph_edges after pass_fixup_cfg is the correct > way to keep the cgraph consistent with gimple IL when early IPA passes >

[PR 70965] Schedule extra pass_rebuild_cgraph_edges

2016-11-24 Thread Martin Jambor
Hi, after discussing this with Honza, we have decided that scheduling an extra pass_rebuild_cgraph_edges after pass_fixup_cfg is the correct way to keep the cgraph consistent with gimple IL when early IPA passes need it, such as is the case with the testcase in PR 70965. While needing an extra