Re: [ipa-vrp] ice in set_value_range

2016-11-10 Thread kugan
Hi David, Sorry about the breakage. I have already reverted this patch as this is causing bootstrap failures. I will test it on more targets before submitting this patch again. Thanks, Kugan On 11/11/16 00:25, David Edelsohn wrote: Kugan Is there a PR for this failure? It broke bootstrap

Re: [ipa-vrp] ice in set_value_range

2016-11-10 Thread David Edelsohn
Kugan Is there a PR for this failure? It broke bootstrap on AIX as well and I only was able to track it to your patch last night. Thanks, David

Re: [ipa-vrp] ice in set_value_range

2016-11-10 Thread Andreas Schwab
On Nov 09 2016, Andrew Pinski wrote: > Either this patch or the patch for "Handle unary pass-through jump > functions for ipa-vrp" caused a bootstrap failure on > aarch64-linux-gnu. > Bootstrap comparison failure! > gcc/go/types.o differs > gcc/fortran/class.o differs >

Re: [ipa-vrp] ice in set_value_range

2016-11-09 Thread kugan
Hi Andrew, On 10/11/16 17:14, Andrew Pinski wrote: On Wed, Nov 9, 2016 at 12:01 AM, kugan wrote: Hi Andrew, On 09/11/16 17:02, Andrew Pinski wrote: Either this patch or the patch for "Handle unary pass-through jump functions for ipa-vrp" caused a

Re: [ipa-vrp] ice in set_value_range

2016-11-09 Thread Andrew Pinski
On Wed, Nov 9, 2016 at 12:01 AM, kugan wrote: > Hi Andrew, > > On 09/11/16 17:02, Andrew Pinski wrote: >> >> Either this patch or the patch for "Handle unary pass-through jump >> functions for ipa-vrp" caused a bootstrap failure on >> aarch64-linux-gnu. >>

Re: [ipa-vrp] ice in set_value_range

2016-11-09 Thread kugan
Hi Andrew, On 09/11/16 17:02, Andrew Pinski wrote: Either this patch or the patch for "Handle unary pass-through jump functions for ipa-vrp" caused a bootstrap failure on aarch64-linux-gnu. Bootstrap comparison failure! gcc/go/types.o differs gcc/fortran/class.o differs gcc/tree-ssa-live.o

Re: [ipa-vrp] ice in set_value_range

2016-11-08 Thread Andrew Pinski
On Tue, Nov 8, 2016 at 2:11 AM, kugan wrote: > Hi, > > On 04/11/16 03:24, Martin Jambor wrote: >> >> Hi, >> >> On Fri, Oct 28, 2016 at 01:58:13PM +1100, kugan wrote: Do I understand it correctly that extract_range_from_unary_expr deals with any

Re: [ipa-vrp] ice in set_value_range

2016-11-08 Thread Jan Hubicka
> Hi, > > On 04/11/16 03:24, Martin Jambor wrote: > >Hi, > > > >On Fri, Oct 28, 2016 at 01:58:13PM +1100, kugan wrote: > >>>Do I understand it correctly that extract_range_from_unary_expr deals > >>>with any potential type conversions better (compared to what you did > >>>before here)? > >> >

Re: [ipa-vrp] ice in set_value_range

2016-11-08 Thread kugan
Hi, On 04/11/16 03:24, Martin Jambor wrote: Hi, On Fri, Oct 28, 2016 at 01:58:13PM +1100, kugan wrote: Do I understand it correctly that extract_range_from_unary_expr deals with any potential type conversions better (compared to what you did before here)? Yes, this can be wrong at times too

Re: [ipa-vrp] ice in set_value_range

2016-11-03 Thread Martin Jambor
Hi, On Fri, Oct 28, 2016 at 01:58:13PM +1100, kugan wrote: > > Do I understand it correctly that extract_range_from_unary_expr deals > > with any potential type conversions better (compared to what you did > > before here)? > > Yes, this can be wrong at times too as reported in >

[ipa-vrp] ice in set_value_range

2016-10-27 Thread kugan
Hi, { tree val = ipa_get_jf_constant (jfunc); if (TREE_CODE (val) == INTEGER_CST) { + value_range vr; if (TREE_OVERFLOW_P (val)) val = drop_tree_overflow (val); - jfunc->vr_known = true; - jfunc->m_vr.type = VR_RANGE; -