> Yeah, as said such optimistic merging would need to happen during canoncial > type merging for example by completely ignoring TYPE_DOMAIN or > DECL_FIELD_OFFSET ... (a non-constant in one unit may be the same as a > constant in another...).
OK, that's really optimistic, and we can probably get away without going this far, e.g. by completely ignoring non-constant fields only, but I see, thanks. -- Eric Botcazou