tree.c (fld_type_variant_equal_p): Skip TYPE_ALIGN check when building incomplete...
authorJan Hubicka <jh@suse.cz>
Wed, 7 Nov 2018 12:25:35 +0000 (13:25 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 7 Nov 2018 12:25:35 +0000 (12:25 +0000)
commit6fe2da9fafe878a361e2d23821d590fd53ef99bd
treee41f801007654b326ab01c7be0297cea99e0033b
parentf70b5dbfa111f03dd31a3e3bd2e3d01eecdc06c3
tree.c (fld_type_variant_equal_p): Skip TYPE_ALIGN check when building incomplete variant of complete type.

* tree.c (fld_type_variant_equal_p): Skip TYPE_ALIGN check when
building incomplete variant of complete type.
(fld_type_variant): Do not copy TYPE_ALIGN when building incomplete
variant of complete type.

From-SVN: r265872
gcc/ChangeLog
gcc/tree.c