c++: overlapping subobjects tweak
commitd5d45465b2b4376731c9ab8cd96b51a66496a492
authorJason Merrill <jason@redhat.com>
Tue, 12 Sep 2023 16:15:13 +0000 (12 12:15 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 18 Sep 2023 03:40:27 +0000 (17 23:40 -0400)
tree4fb9c6e1cbfa812c3399252a98a0e1f161149389
parent5761dce5d71e3dd013ce4db4c5e9b5e49c6cba23
c++: overlapping subobjects tweak

The ABI is settling on "similar" for this rule.

gcc/cp/ChangeLog:

* class.cc (check_subobject_offset): Use similar_type_p.
gcc/cp/class.cc