Re: [RFC] Bug lto/78140

2017-02-02 Thread Martin Jambor
Hi, I am sorry, I am apparently not really able to follow all email this week and am mostly skimming through this thread too, but... On Thu, Feb 02, 2017 at 01:48:26PM +0100, Jan Hubicka wrote: > > > > 2017-02-02 Kugan Vivekanandarajah > > > > * ipa-cp.c

Re: [RFC] Bug lto/78140

2017-02-02 Thread Richard Biener
On Thu, Feb 2, 2017 at 1:52 PM, Richard Biener wrote: > On Thu, Feb 2, 2017 at 1:48 PM, Jan Hubicka wrote: >>> >>> 2017-02-02 Kugan Vivekanandarajah >>> >>> * ipa-cp.c (ipcp_store_bits_results): Construct bits vector. >>>

Re: [RFC] Bug lto/78140

2017-02-02 Thread Martin Liška
On 02/02/2017 02:36 AM, kugan wrote: > This is due to an existing issue. That is, in ipa_node_params_t::remove, m_vr > and bits vectors are not set to null such that the gc can claim it. I've just sent patch that should remove such need as ~ipa_node_params_t should be called just once:

Re: [RFC] Bug lto/78140

2017-02-02 Thread Richard Biener
On Thu, Feb 2, 2017 at 1:48 PM, Jan Hubicka wrote: >> >> 2017-02-02 Kugan Vivekanandarajah >> >> * ipa-cp.c (ipcp_store_bits_results): Construct bits vector. >> (ipcp_store_vr_results): Constrict m_vr vector. >> * ipa-prop.c

Re: [RFC] Bug lto/78140

2017-02-02 Thread Jan Hubicka
> > 2017-02-02 Kugan Vivekanandarajah > > * ipa-cp.c (ipcp_store_bits_results): Construct bits vector. > (ipcp_store_vr_results): Constrict m_vr vector. > * ipa-prop.c (ipa_node_params_t::remove): Set transaction summary to > null. >

Re: [RFC] Bug lto/78140

2017-02-01 Thread kugan
Hi Richard, On 30/01/17 21:08, Richard Biener wrote: On Mon, Jan 30, 2017 at 12:23 AM, kugan wrote: Hi All, As suggested by Richard in the PR, I tried to implement variable size structures for VR as shown in attached patch. That is, I changed ipa-prop.h to:

Re: [RFC] Bug lto/78140

2017-02-01 Thread kugan
Hi Richard, On 30/01/17 21:08, Richard Biener wrote: On Mon, Jan 30, 2017 at 12:23 AM, kugan wrote: lto1: internal compiler error: Segmentation fault 0xdedc4b crash_signal ../../gcc/gcc/toplev.c:333 0xb46680 ipa_node_params_t::duplicate(cgraph_node*,

Re: [RFC] Bug lto/78140

2017-01-30 Thread Richard Biener
On Mon, Jan 30, 2017 at 12:23 AM, kugan wrote: > Hi All, > > As suggested by Richard in the PR, I tried to implement variable size > structures for VR as shown in attached patch. That is, I changed ipa-prop.h > to: > > diff --git a/gcc/ipa-prop.h

[RFC] Bug lto/78140

2017-01-29 Thread kugan
Hi All, As suggested by Richard in the PR, I tried to implement variable size structures for VR as shown in attached patch. That is, I changed ipa-prop.h to: diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 93a2390c..acab2aa 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -157,13