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.
This commit is contained in:
parent
5761dce5d7
commit
d5d45465b2
1 changed files with 1 additions and 1 deletions
|
@ -4065,7 +4065,7 @@ check_subobject_offset (tree type, tree offset, splay_tree offsets)
|
|||
return 1;
|
||||
|
||||
if (cv_check != ignore
|
||||
&& same_type_ignoring_top_level_qualifiers_p (elt, type))
|
||||
&& similar_type_p (elt, type))
|
||||
{
|
||||
if (cv_check == fast)
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue