Re: [PATCH] sra: Avoid verification failure (PR 93516)

2020-02-14 Thread Richard Biener
On Fri, 14 Feb 2020, Martin Jambor wrote: > Hi, > > get_ref_base_and_extent can return different sizes for COMPONENT_REFs > and DECLs of the same type, with the latter including (more?) padding. > When in the IL there is an assignment between such a COMPONENT_REF and a > DECL, SRA will try to

[PATCH] sra: Avoid verification failure (PR 93516)

2020-02-14 Thread Martin Jambor
Hi, get_ref_base_and_extent can return different sizes for COMPONENT_REFs and DECLs of the same type, with the latter including (more?) padding. When in the IL there is an assignment between such a COMPONENT_REF and a DECL, SRA will try to propagate the access from the former as a child of the