Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-29 Thread Patrick Palka
On Tue, 29 Mar 2016, Richard Biener wrote: > On Tue, Mar 29, 2016 at 1:23 PM, Patrick Palka wrote: > > On Tue, 29 Mar 2016, Richard Biener wrote: > > > >> On Sun, Mar 27, 2016 at 11:37 PM, Patrick Palka > >> wrote: > >> > On Sun, 27 Mar 2016, Patrick

Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-29 Thread Richard Biener
On Tue, Mar 29, 2016 at 1:23 PM, Patrick Palka wrote: > On Tue, 29 Mar 2016, Richard Biener wrote: > >> On Sun, Mar 27, 2016 at 11:37 PM, Patrick Palka wrote: >> > On Sun, 27 Mar 2016, Patrick Palka wrote: >> > >> >> In unrolling of the inner loop in

Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-29 Thread Patrick Palka
On Tue, 29 Mar 2016, Richard Biener wrote: > On Sun, Mar 27, 2016 at 11:37 PM, Patrick Palka wrote: > > On Sun, 27 Mar 2016, Patrick Palka wrote: > > > >> In unrolling of the inner loop in the test case below we introduce > >> unreachable code that otherwise contains

Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-29 Thread Richard Biener
On Sun, Mar 27, 2016 at 11:37 PM, Patrick Palka wrote: > On Sun, 27 Mar 2016, Patrick Palka wrote: > >> In unrolling of the inner loop in the test case below we introduce >> unreachable code that otherwise contains out-of-bounds array accesses. >> This is because the

Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-27 Thread Patrick Palka
On Sun, Mar 27, 2016 at 2:58 PM, Patrick Palka wrote: > In unrolling of the inner loop in the test case below we introduce > unreachable code that otherwise contains out-of-bounds array accesses. > This is because the estimation of the maximum number of iterations of > the

Re: [PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-27 Thread Patrick Palka
On Sun, 27 Mar 2016, Patrick Palka wrote: > In unrolling of the inner loop in the test case below we introduce > unreachable code that otherwise contains out-of-bounds array accesses. > This is because the estimation of the maximum number of iterations of > the inner loop is too conservative: we

[PATCH] Fix PR tree-optimization/59124 (bogus -Warray-bounds warning)

2016-03-27 Thread Patrick Palka
In unrolling of the inner loop in the test case below we introduce unreachable code that otherwise contains out-of-bounds array accesses. This is because the estimation of the maximum number of iterations of the inner loop is too conservative: we assume 6 iterations instead of the actual 4.