https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112856
Bug ID: 112856 Summary: [14 regression] ICE when building clustal-omega 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 56803 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56803&action=edit hhalign.ii.xz I've never heard of 'clustal-omega' either but it's one of our packages and it broke, so... Originally reported downstream in Gentoo at https://bugs.gentoo.org/919165 by Toralf Förster. ``` # x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -fno-strict-aliasing -DCLUSTALO -DCLUSTALO_NOFILE -DDEFAULT_FILTER=90 -fopenmp -O3 -march=native -fno-semantic-interposition -pipe -Wa,-O2 -Wa,-mtune=znver2 -fcf-protection=none -fdiagnostics-color=always -fdiagnostics-urls=never -frecord-gcc-switches -ggdb3 -c hhalign.cpp -fPIC -DPIC -o .libs/hhalign.o In file included from hhalign.cpp:70: hhhmm-C.h: In member function ‘void HMM::UseSecStrucDependentGapPenalties()’: hhhmm-C.h:1748:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1748 | iis[0]=iis[L]=0; | ~~~~~~^~ hhhmm-C.h:1734:17: note: at offset [-2147483648, -1] into destination object ‘iis’ of size [0, 2147483647] 1734 | unsigned char iis[par.maxResLen]; // inside-integer array | ^~~ during GIMPLE pass: ch_vect In file included from hhalign.cpp:75: hhhitlist-C.h: In member function ‘void HitList::SVD(double**, int, double*, double**)’: hhhitlist-C.h:2919:1: internal compiler error: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 2919 | HitList::SVD(double **A, int n, double w[], double **V) | ^~~~~~~ 0x55fb54b5dd71 check_loop_closed_ssa_def /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/gcc/tree-ssa-loop-manip.cc:647 0x55fb54b5dd71 check_loop_closed_ssa_bb /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/gcc/tree-ssa-loop-manip.cc:661 0x55fb54b5d787 verify_loop_closed_ssa(bool, loop*) /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/gcc/tree-ssa-loop-manip.cc:697 0x55fb5449dd08 execute_function_todo /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/gcc/passes.cc:2106 0x55fb5449dd08 do_per_function /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/gcc/passes.cc:1687 0x55fb5449dd08 execute_todo /usr/src/debug/sys-devel/gcc-14.0.0_pre20231203/gcc-14-20231203/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 <https://bugs.gentoo.org/> for instructions. ``` I can reproduce with 'g++ -c hhalign.ii -O3 -fno-strict-aliasing'.