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 Jakub