From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7AEBD3858C41; Sun, 4 Feb 2024 20:29:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AEBD3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707078599; bh=NZ3+qpMNs2KFm56cDgVdZITytYjAcNyVnYr9n37Dm8g=; h=From:To:Subject:Date:From; b=CIN4KwIDp4pbr1iHydsPK9ToBwnl3jodErTLw9N7rIek4Ctv+PgxLeSVa1+aIyAAH xla8PrXOlCoA2bY7R5+7/O6pkbXRgBOjTKB/nmozEllHMKdhDaUXc3tPN3GKozrLNH 0Jx4WME25Kl3QwBGqOY1MPXZtGoS0Z1CufiWx2wo= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/113757] New: [14 regression] ICE when building legion-23.03.0 Date: Sun, 04 Feb 2024 20:29:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ 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=3D113757 Bug ID: 113757 Summary: [14 regression] ICE when building legion-23.03.0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 57319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57319&action=3Dedit legion_tasks.cc.ii.xz Originally reported downstream in Gentoo at https://bugs.gentoo.org/923797 = by=20 Toralf F=C3=B6rster. ``` $ /var/tmp/portage/sys-cluster/legion-23.03.0/temp/clang-wrappers/x86_64-pc-l= inux-gnu-g++ -DLegionRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/ru= ntime -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0_bu= ild/runtime -O2 -march=3Dznver2 -march=3Dnative -O2 -g -fPIC -fdiagnostics-color=3Dalw= ays -MD -MT runtime/CMakeFiles/LegionRuntime.dir/legion/legion_tasks.cc.o -MF runtime/CMakeFiles/LegionRuntime.dir/legion/legion_tasks.cc.o.d -o runtime/CMakeFiles/LegionRuntime.dir/legion/legion_tasks.cc.o -c /var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runt= ime/legion/legion_tasks.cc during IPA pass: inline /var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runt= ime/legion/legion_tasks.cc: In member function =E2=80=98virtual const Legion::Internal::VersionInfo& Legion::Internal::PointTask::get_version_info(unsigned int) const=E2=80=99: /var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runt= ime/legion/legion_tasks.cc:7033:24: internal compiler error: tree check: expected class =E2=80=98type=E2=80=99,= have =E2=80=98exceptional=E2=80=99 (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85 7033 | const VersionInfo& PointTask::get_version_info(unsigned idx) co= nst | ^~~~~~~~~ 0x5611c9270657 tree_class_check_failed(tree_node const*, tree_code_class, c= har const*, int, char const*) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.cc:90= 02 0x5611c81c7150 tree_class_check(tree_node*, tree_code_class, char const*, i= nt, char const*) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree.h:3767 0x5611c81c7150 useless_type_conversion_p(tree_node*, tree_node*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/gimple-expr.cc:85 0x5611c9dc377f may_propagate_copy(tree_node*, tree_node*, bool) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-ssa-propagate= .cc:1068 0x5611c9ceafbc gimple_merge_blocks =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfg.cc:2130 0x5611c9ce61dd merge_blocks(basic_block_def*, basic_block_def*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cfghooks.cc:820 0x5611c9c46209 cleanup_tree_cfg_bb =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfgcleanup.cc= :791 0x5611c9c46209 cleanup_tree_cfg_noloop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfgcleanup.cc= :1141 0x5611c9c46209 cleanup_tree_cfg(unsigned int) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/tree-cfgcleanup.cc= :1205 0x5611c9ae1bf4 execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2057 0x5611c9ae1bf4 do_per_function /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 1687 0x5611c9ae1bf4 execute_todo /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2142 0x5611c9cbcfca execute_one_ipa_transform_pass /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2336 0x5611c9cbcfca execute_all_ipa_transforms(bool) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/passes.cc:= 2396 0x5611c9b20cb3 cgraph_node::expand() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cgraphunit.cc:1836 0x5611c9adacd0 expand_all_functions =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cgraphunit.cc:2026 0x5611c9adacd0 symbol_table::compile() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cgraphunit.cc:2400 0x5611ca40f9c8 symbol_table::finalize_compilation_unit() =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/cgraphunit.cc:2585 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 3ab6b70bf9ee185da7e092e1df20753cdc35d710' --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 --with-build-config=3D'bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240203 (experimental) fa96099957c1cdcf73cb8c83e4f694a38a3d8530 (Gentoo Hardened 14.0.9999 p, comm= it 3ab6b70bf9ee185da7e092e1df20753cdc35d710) ```=