https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118892
Bug ID: 118892 Summary: [14/15 Regression] ICE (segfault) in rebuild_jump_labels on aarch64-linux-gnu Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- Created attachment 60506 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60506&action=edit preprocessed source trunk and gcc-14 branch ICE on aarch64-linux-gnu, building the pytorch 2.6.0 package. Lowering the optimization to -O1 or omitting the -fno-math-errno flag works around the ICE. $ g++ -c -std=gnu++17 -O2 -fopenmp -fno-math-errno -Wall -Wno-unknown-pragmas -Wno-maybe-uninitialized Activation.cpp.DEFAULT.ii during RTL pass: expand Activation.cpp.DEFAULT.ii: In function 'log_sigmoid_cpu_kernel()::<lambda()>::<lambda()>::<lambda(long int, long int)>': Activation.cpp.DEFAULT.ii:100:7: internal compiler error: Segmentation fault 100 | }); | ^ 0xd4f513 internal_error(char const*, ...) ???:0 0x135298f rebuild_jump_labels(rtx_insn*) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report.