https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112732
Bug ID: 112732 Summary: during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz CC: marxin at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Created attachment 56702 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56702&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -Os -Wstrict-aliasing=2 -flto testcase.c testcase.c:11:1: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P' 11 | } | ^ <vector_type 0x7f152f4a9540 type <integer_type 0x7f152f31b9d8 __int128 public TI size <integer_cst 0x7f152f2fbf90 constant 128> unit-size <integer_cst 0x7f152f2fbfa8 constant 16> align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f31b9d8 precision:128 min <integer_cst 0x7f152f2fc680 -170141183460469231731687303715884105728> max <integer_cst 0x7f152f2fc6a0 170141183460469231731687303715884105727>> BLK size <integer_cst 0x7f152f31d2b8 type <integer_type 0x7f152f31b0a8 bitsizetype> constant 256> unit-size <integer_cst 0x7f152f31d3a8 type <integer_type 0x7f152f31b000 sizetype> constant 32> align:256 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f4a9540 nunits:2 pointer_to_this <pointer_type 0x7f152f4d2000>> <vector_type 0x7f152f4d2150 type <integer_type 0x7f152f31b9d8 __int128 public TI size <integer_cst 0x7f152f2fbf90 constant 128> unit-size <integer_cst 0x7f152f2fbfa8 constant 16> align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f31b9d8 precision:128 min <integer_cst 0x7f152f2fc680 -170141183460469231731687303715884105728> max <integer_cst 0x7f152f2fc6a0 170141183460469231731687303715884105727>> BLK size <integer_cst 0x7f152f31d2b8 type <integer_type 0x7f152f31b0a8 bitsizetype> constant 256> unit-size <integer_cst 0x7f152f31d3a8 type <integer_type 0x7f152f31b000 sizetype> constant 32> align:256 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f4a9540 nunits:2> during IPA pass: *free_lang_data testcase.c:11:1: internal compiler error: 'verify_type' failed 0x180729e verify_type(tree_node const*) /repo/gcc-trunk/gcc/tree.cc:14384 0x25dd002 free_lang_data /repo/gcc-trunk/gcc/ipa-free-lang-data.cc:1134 0x25dd002 execute /repo/gcc-trunk/gcc/ipa-free-lang-data.cc:1176 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-5872-20231127103959-gd9abaa8d58f-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-5872-20231127103959-gd9abaa8d58f-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (GCC)