diff options
Diffstat (limited to 'gcc/type-reconstructor.c')
-rw-r--r-- | gcc/type-reconstructor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/type-reconstructor.c b/gcc/type-reconstructor.c index ed46f21630a..df48c39267f 100644 --- a/gcc/type-reconstructor.c +++ b/gcc/type-reconstructor.c @@ -167,7 +167,7 @@ TypeReconstructor::_walk_POINTER_TYPE_post(const_tree t) bool is_modified = get_is_modified(t); - copy = is_modified ? build_distinct_type_copy(copy) : copy; + copy = is_modified ? build_variant_type_copy(copy) : copy; TREE_TYPE(copy) = is_modified ? _reorg_map[TREE_TYPE(t)] : TREE_TYPE(copy); TYPE_NAME(copy) = is_modified ? get_new_identifier(copy) : TYPE_NAME(copy); // This is useful so that we go again through type layout |