middle-end/112732 - stray TYPE_ALIAS_SET in type variant
commitf26d68d5d128c86faaceeb81b1e8f22254ad53df
authorRichard Biener <rguenther@suse.de>
Tue, 28 Nov 2023 11:36:21 +0000 (28 12:36 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 28 Nov 2023 15:58:08 +0000 (28 16:58 +0100)
treeb5b60a6aea74dca236321a622c26042d31af3354
parent99db2ce2419245e40808a9fad45113315496a907
middle-end/112732 - stray TYPE_ALIAS_SET in type variant

The following fixes a stray TYPE_ALIAS_SET in a type variant built
by build_opaque_vector_type which is diagnosed by type checking
enabled with -flto.

PR middle-end/112732
* tree.cc (build_opaque_vector_type): Reset TYPE_ALIAS_SET
of the newly built type.
gcc/tree.cc