https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332
Bug ID: 110332 Summary: [14 regression] ICE in dominated_by_p when building LLVM with -O3 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 55377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55377&action=edit SplitKit.ii.xz ``` # /usr/bin/aarch64-unknown-linux-gnu-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm_build-.arm64/lib/CodeGen -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm_build-.arm64/include -I/var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/include -DNDEBUG -O3 -pipe -mcpu=native -fdiagnostics-color=always -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -fdiagnostics-color=always -c /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp -save-temps aarch64-unknown-linux-gnu-g++: warning: ‘-pipe’ ignored because ‘-save-temps’ specified during GIMPLE pass: phiprop /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp: In member function ‘bool llvm::SplitEditor::transferValues()’: /var/tmp/portage/sys-devel/llvm-16.0.6/work/llvm/lib/CodeGen/SplitKit.cpp:1888:1: internal compiler error: Segmentation fault 1888 | } | ^ 0xaaaab5e4625f crash_signal /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/toplev.cc:314 0xaaaab58a4ec8 dominated_by_p(cdi_direction, basic_block_def const*, basic_block_def const*) /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/dominance.cc:1128 0xaaaab603cd8f propagate_with_phi /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-phiprop.cc:408 0xaaaab603cd8f execute /usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-phiprop.cc:528 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://bugs.gentoo.org/> for instructions. ``` ``` gcc (Gentoo 14.0.0 p, commit 6cb33e2f39e289ec4f25f845d8153053147c5c49) 14.0.0 20230620 (experimental) f5d0cec170d6d5496edf4038499d288c07d79b18 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ```