From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 03D8C3858422; Wed, 6 Mar 2024 02:33:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03D8C3858422 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709692387; bh=k99ZbIUxx8SAV8OcEN578+3c9b5KXT1Q2sNBMxgJa6k=; h=From:To:Subject:Date:From; b=ArJB9tmK71g7shRGLUabGUoAyjPVSnfgXROz1rtjsL2mlWk/ML+uAACBHaVN3LsK3 0ARLS+nrgxKwBHrA5UxC0l2TDwau57NLqZKTh0cqy/2SKWOyMRL1M/+uPPCdxLJ6Ns lrcbFNZ9B70y7nWh02GyZ4JJ8BmrPbBu9kOCh3x0= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114249] New: [14 regression] ICE when building lvm2-2.03.22 (error: invalid types in nop conversion) Date: Wed, 06 Mar 2024 02:33:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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 bug_severity priority component assigned_to reporter target_milestone 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=3D114249 Bug ID: 114249 Summary: [14 regression] ICE when building lvm2-2.03.22 (error: invalid types in nop conversion) Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 57619 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57619&action=3Dedit libdm-deptree.i.xz It ICEs on two different functions with -O2 vs -O3. ``` $ gcc -c ./libdm-deptree.i -O2 libdm-deptree.c: In function =E2=80=98dm_tree_preload_children=E2=80=99: libdm-deptree.c:2894:5: error: invalid types in nop conversion 2894 | int dm_tree_preload_children(struct dm_tree_node *dnode, | ^~~~~~~~~~~~~~~~~~~~~~~~ unsigned int <<< error >>> _890 =3D (unsigned int) _1319; during GIMPLE pass: slp libdm-deptree.c:2894:5: internal compiler error: verify_gimple failed 0x559de62d4070 verify_gimple_in_cfg(function*, bool, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfg.cc:5663 0x559de784ba38 execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2088 0x559de784ba38 do_per_function /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 1687 0x559de784ba38 execute_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2142 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. ``` ``` $ gcc -c ./libdm-deptree.i -O3 libdm-deptree.c: In function =E2=80=98_load_node=E2=80=99: libdm-deptree.c:2774:12: error: invalid types in nop conversion 2774 | static int _load_node(struct dm_tree_node *dnode) | ^~~~~~~~~~ unsigned int <<< error >>> _1341 =3D (unsigned int) _1452; during GIMPLE pass: slp libdm-deptree.c:2774:12: internal compiler error: verify_gimple failed 0x5568ddc14070 verify_gimple_in_cfg(function*, bool, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfg.cc:5663 0x5568df18ba38 execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2088 0x5568df18ba38 do_per_function /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 1687 0x5568df18ba38 execute_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2142 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. ``` ``` Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.9999/work/gcc-14.0.9999/configure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-languages=3Dc,c++,fortran,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo Harden= ed 14.0.9999 p, commit c8305c9bdf09abe3e2f89783fe62f2e4049468fa' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=3D'bootstrap= -O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240305 (experimental) 8776468d9e57ace5f832c1368243a6dbce9984d5 (Gentoo Hardened 14.0.9999 p, comm= it c8305c9bdf09abe3e2f89783fe62f2e4049468fa) ```=