Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-20 Thread Jan Hubicka
> Hi. > > In order to fix the warnings mentioned in the PR, we need > to run remove_unreachable_nodes after early tree passes. That's > however possible only within a IPA pass. Thus I'm calling that > before the profile PASS. > > Patch survives regression tests on ppc64le-linux-gnu and majority >

Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-12 Thread Martin Liška
>>>>> gcc/ChangeLog: >>>>> >>>>> 2018-11-08 Martin Liska >>>>> >>>>> * tree-profile.c: Run TODO_remove_functions before "profile" >>>>> pass in order to remove dead functions that will trigger >>>>>

Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-08 Thread Martin Liška
On 11/8/18 12:46 PM, Jan Hubicka wrote: >> On Thu, Nov 8, 2018 at 12:39 PM Martin Liška wrote: >>> >>> On 11/8/18 12:19 PM, Jan Hubicka wrote: > Hi. > > In order to fix the warnings mentioned in the PR, we need > to run remove_unreachable_nodes after early tree passes. That's >

Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-08 Thread Jan Hubicka
> On Thu, Nov 8, 2018 at 12:39 PM Martin Liška wrote: > > > > On 11/8/18 12:19 PM, Jan Hubicka wrote: > > >> Hi. > > >> > > >> In order to fix the warnings mentioned in the PR, we need > > >> to run remove_unreachable_nodes after early tree passes. That's > > >> however possible only within a IPA

Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-08 Thread Richard Biener
On Thu, Nov 8, 2018 at 12:39 PM Martin Liška wrote: > > On 11/8/18 12:19 PM, Jan Hubicka wrote: > >> Hi. > >> > >> In order to fix the warnings mentioned in the PR, we need > >> to run remove_unreachable_nodes after early tree passes. That's > >> however possible only within a IPA pass. Thus I'm c

Re: [PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-08 Thread Martin Liška
On 11/8/18 12:19 PM, Jan Hubicka wrote: >> Hi. >> >> In order to fix the warnings mentioned in the PR, we need >> to run remove_unreachable_nodes after early tree passes. That's >> however possible only within a IPA pass. Thus I'm calling that >> before the profile PASS. >> >> Patch survives regres

[PATCH] Remove unreachable nodes before IPA profile pass (PR ipa/87706).

2018-11-08 Thread Martin Liška
Hi. In order to fix the warnings mentioned in the PR, we need to run remove_unreachable_nodes after early tree passes. That's however possible only within a IPA pass. Thus I'm calling that before the profile PASS. Patch survives regression tests on ppc64le-linux-gnu and majority of warnings are g