https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116074
Bug ID: 116074 Summary: [15 regression] ICE when building harfbuzz-9.0.0 on arm64 (related_int_vector_mode, at stor-layout.cc:581) Product: gcc Version: 15.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 58749 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58749&action=edit hb-subset.cc.ii.xz ``` $ gcc -c ../harfbuzz-9.0.0-.arm64/src/libharfbuzz-subset.so.0.60900.0.p/hb-subset.cc.ii -O3 -mcpu=native -fno-vect-cost-model during GIMPLE pass: vect In file included from ../harfbuzz-9.0.0/src/hb-ot-var-mvar-table.hh:30, from ../harfbuzz-9.0.0/src/hb-ot-os2-table.hh:33, from ../harfbuzz-9.0.0/src/hb-ot-cmap-table.hh:30, from ../harfbuzz-9.0.0/src/hb-subset.cc:33: ../harfbuzz-9.0.0/src/hb-ot-var-common.hh: In member function ‘bool OT::item_variations_t::as_item_varstore(bool, bool)’: ../harfbuzz-9.0.0/src/hb-ot-var-common.hh:1729:8: internal compiler error: in related_int_vector_mode, at stor-layout.cc:581 1729 | bool as_item_varstore (bool optimize=true, bool use_no_variation_idx=true) | ^~~~~~~~~~~~~~~~ 0xaaaab7ff45bf internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:491 0xaaaab5aef77b fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1725 0xaaaab67fae07 related_int_vector_mode(machine_mode) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/stor-layout.cc:581 0xaaaab7ee9bbf vect_recog_cond_store_pattern /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-patterns.cc:6628 0xaaaab7ef1ae7 vect_pattern_recog_1 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-patterns.cc:7536 0xaaaab7ef1ae7 vect_pattern_recog(vec_info*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-patterns.cc:7657 0xaaaab6bd5187 vect_analyze_loop_2 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-loop.cc:2795 0xaaaab6bd7667 vect_analyze_loop_1 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-loop.cc:3484 0xaaaab6bd7ebf vect_analyze_loop(loop*, vec_info_shared*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-loop.cc:3642 0xaaaab6c2c13b try_vectorize_loop_1 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1067 0xaaaab6c2c13b try_vectorize_loop /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1183 0xaaaab6c2c7bf execute /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1299 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. ``` ---- ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/aarch64-unknown-linux-gnu/15/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --prefix=/usr --bindir=/usr/aarch64-unknown-linux-gnu/gcc-bin/15 --includedir=/usr/lib/gcc/aarch64-unknown-linux-gnu/15/include --datadir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15 --mandir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15/man --infodir=/usr/share/gcc-data/aarch64-unknown-linux-gnu/15/info --with-gxx-include-dir=/usr/lib/gcc/aarch64-unknown-linux-gnu/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/aarch64-unknown-linux-gnu/15/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 15.0.9999 p, commit 7203178939395f9d01a60a68073ec175ed0236c8' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-libgomp --disable-libssp --disable-libada --disable-standard-branch-protection --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=bootstrap-O3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240724 (experimental) 1ea551514b9c285d801ac5ab8d78b22483ff65af (Gentoo Hardened 15.0.9999 p, commit 7203178939395f9d01a60a68073ec175ed0236c8) ```