[Bug lto/112732] during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 8 13:05:01 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112732
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:e7879391bb2b86606d0ce35ed97eccc108970e36
commit r11-11561-ge7879391bb2b86606d0ce35ed97eccc108970e36
Author: Richard Biener <rguenther@suse.de>
Date: Tue Nov 28 12:36:21 2023 +0100
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)
More information about the Gcc-bugs
mailing list