From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 37BA63858C36; Mon, 27 Nov 2023 19:05:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37BA63858C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701111956; bh=L6Pp2J9bEz82uUJcTDxOhr1r2AP8LsBGsvYAyh/sTMk=; h=From:To:Subject:Date:From; b=SV7W+pyU/xzI11WUm+XNek0a1P2+ceKh54Xk2RD+Hh+Hfd0ULaqzbXh1B8UIqhSTt raK3GlXf9M7eAdYOCUNV9dkvqXMPWC4KNSnfagVriUD26HCkwXhQG94OOmo3VEPGfu atg4dlkypPAERWs6EAjwnvcBeJQ4xfPywiNgm0HY= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/112732] New: during IPA pass: *free_lang_data ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -Os -Wstrict-aliasing=2 -flto Date: Mon, 27 Nov 2023 19:05:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112732 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=3D2 -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=3D56702&action=3Dedit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -Os -Wstrict-aliasing=3D2 -flto testcase.c=20 testcase.c:11:1: error: type variant with 'TYPE_ALIAS_SET_KNOWN_P' 11 | } | ^ unit-size align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f31b9d8 precision:128 min max > BLK size constant 256> unit-size constant 32> align:256 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f4a9540 nunits:2 pointer_to_this > unit-size align:128 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type 0x7f152f31b9d8 precision:128 min max > BLK size constant 256> unit-size 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 for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=3D/repo/gcc-trunk/binary-latest/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=3D/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=3Dc,c++ --enable-valgrind-annotations --disable-nls --enable-checking=3Dyes,rtl,df,= extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --with-ld=3D/usr/bin/x86_64-pc-linux-gnu-ld --with-as=3D/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=3D/repo/gcc-trunk//binary-trunk-r14-5872-20231127103959-gd9abaa8d5= 8f-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (GCC)=