]> 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 <rguenther@suse.de>
Wed, 8 May 2024 11:43:54 +0000 (13:43 +0200)
commit664ab9c6e8a5d031031596100997e025e5334e86
tree2e423e6c981b0f1324ce14cdea8a8a22e4af3baf
parent0b409fc34e9b1ff7f90456e73128e38970c1532b
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.

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