Re: [Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-30 Thread Jan Hubicka
> On 09/29/2015 12:41 AM, Senthil Kumar Selvaraj wrote: > >On Mon, Sep 28, 2015 at 01:38:18PM -0600, Jeff Law wrote: > >>On 09/28/2015 02:15 AM, Senthil Kumar Selvaraj wrote: > >>>Hi, > >>> > >>> The below patch skips gcc.dg/addr_equal-1.c if the target keeps null > >>> pointer checks. > >>> >

Re: [Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-30 Thread Jeff Law
On 09/29/2015 12:41 AM, Senthil Kumar Selvaraj wrote: On Mon, Sep 28, 2015 at 01:38:18PM -0600, Jeff Law wrote: On 09/28/2015 02:15 AM, Senthil Kumar Selvaraj wrote: Hi, The below patch skips gcc.dg/addr_equal-1.c if the target keeps null pointer checks. The test fails for such targe

Re: [Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-28 Thread Senthil Kumar Selvaraj
On Mon, Sep 28, 2015 at 01:38:18PM -0600, Jeff Law wrote: > On 09/28/2015 02:15 AM, Senthil Kumar Selvaraj wrote: > >Hi, > > > > The below patch skips gcc.dg/addr_equal-1.c if the target keeps null > > pointer checks. > > > > The test fails for such targets (avr, in my case) because the addre

Re: [Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-28 Thread Jeff Law
On 09/28/2015 02:15 AM, Senthil Kumar Selvaraj wrote: Hi, The below patch skips gcc.dg/addr_equal-1.c if the target keeps null pointer checks. The test fails for such targets (avr, in my case) because the address comparison in the below code does not resolve to a constant, causing

Re: [Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-28 Thread Mike Stump
On Sep 28, 2015, at 1:15 AM, Senthil Kumar Selvaraj wrote: > The below patch skips gcc.dg/addr_equal-1.c if the target keeps null > pointer checks. > > The test fails for such targets (avr, in my case) because the address > comparison in the below code does not resolve to a constant, causing

[Patch, testsuite] Skip addr_equal-1 if target keeps null pointer checks

2015-09-28 Thread Senthil Kumar Selvaraj
Hi, The below patch skips gcc.dg/addr_equal-1.c if the target keeps null pointer checks. The test fails for such targets (avr, in my case) because the address comparison in the below code does not resolve to a constant, causing builtin_constant_p to return false and fail the test. /*