On Fri, Oct 01, 2021 at 10:07:49AM -0700, Julian Brown wrote: > In preparation for follow-up patches extending struct dereference > handling for OpenMP, this patch removes base_ind/base_ref handling from > gimplify.c:extract_base_bit_offset. This arguably simplifies some of the > code around the callers of the function also, though subsequent patches > modify those parts further. > > OK for mainline? > > Thanks, > > Julian > > 2021-09-29 Julian Brown <jul...@codesourcery.com> > > gcc/ > * gimplify.c (extract_base_bit_offset): Remove BASE_IND, BASE_REF and > OPENMP parameters. > (strip_indirections): New function. > (build_struct_group): Update calls to extract_base_bit_offset. > Rearrange indirect/reference handling accordingly. Use extracted base > instead of passed-in decl when grouping component accesses together.
This is ok for trunk once the whole series is approved. Jakub