]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end/112732 - stray TYPE_ALIAS_SET in type variant
authorRichard Biener <rguenther@suse.de>
Tue, 28 Nov 2023 11:36:21 +0000 (12:36 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jul 2024 13:04:49 +0000 (15:04 +0200)
commite7879391bb2b86606d0ce35ed97eccc108970e36
treece184493f9bdf94669e08985498379436a7c70b0
parent77cc621a0a9d1083378300463b93a66b5230a745
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.c (build_opaque_vector_type): Reset TYPE_ALIAS_SET
of the newly built type.

(cherry picked from commit f26d68d5d128c86faaceeb81b1e8f22254ad53df)
gcc/tree.c