On Fri, Feb 19, 2016 at 9:33 AM, Eric Botcazou <ebotca...@adacore.com> wrote: >> The following experiment resulted from looking at making >> array_ref_low_bound and array_ref_element_size non-mutating. Again >> I wondered why we do this strange scaling by offset/element alignment. > > I personally never really grasped it either... > >> So - I hope somebody from Adacore can evaluate this patch code-generation >> wise. > > I will, this looks like a valuable simplification to me.
Did you manage to do this yet? I'm flushing my stage1 queue of "simple cleanups" right now. Thanks, Richard.