Re: [patch] Fix checking failure in IPA-SRA

2020-12-04 Thread Richard Biener via Gcc-patches
On Thu, Dec 3, 2020 at 8:13 PM Eric Botcazou wrote: > > Hi, > > this is a regression present on the mainline and 10 branch: on the one hand, > IPA-SRA does *not* disqualify accesses with zero size but, on the other hand, > it checks that accesses present in the tree have a (strictly) positive

[patch] Fix checking failure in IPA-SRA

2020-12-03 Thread Eric Botcazou
Hi, this is a regression present on the mainline and 10 branch: on the one hand, IPA-SRA does *not* disqualify accesses with zero size but, on the other hand, it checks that accesses present in the tree have a (strictly) positive size, thus trivially yielding an ICE, for example on the attached