On Wed, 24 Mar 2021, Martin Sebor wrote: > On 3/24/21 10:40 AM, Jakub Jelinek wrote: > > On Wed, Mar 24, 2021 at 09:45:31AM -0600, Martin Sebor via Gcc-patches > > wrote: > >> E.g., OEP_IGNORE_MEMBER_OFFSET or OEP_SAME_MEMBER_OFFSET (for > >> the converse of the first) or something like that, but hopefully > >> you get the idea. > > > > Neither of these look like a good name to me, OEP_IGNORE_MEMBER_OFFSET > > seems like a request that member offset is not important to the equality, > > it is always important, but in the new mode we want not just the member > > offset to be equal, but also the fields to be the same, i.e. a stronger > > requirement. > > > > So, what about > > /* For OEP_ADDRESS_OF of COMPONENT_REFs, only consider same fields as > > equivalent rather than also different fields with the same offset. */ > > OEP_ADDRESS_OF_SAME_FIELD = 256 > > This name works for me.
Works for me as well, aka OK. Richard. > Thanks > Martin > > > > > Jakub > > > > > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)