https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113794
Bug ID: 113794 Summary: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20240207, worked with 20240201 at least, building the amdgcn-amdhsa offload compiler. newlib fails to build with during GIMPLE pass: vect In file included from ../../../../src-gcn/newlib/libc/string/memset.c:29: /home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string.h: In function 'memset': /home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string.h:33:10: internal compiler error: Segmentation fault 33 | void * memset (void *, int, size_t); | ^~~~~~ 0xcfa112 crash_signal ../../src-gcn/gcc/toplev.cc:317 0x7b63de9f050f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0xf61fab gsi_prev(gimple_stmt_iterator*) ../../src-gcn/gcc/gimple-iterator.h:236 0xf61fab move_early_exit_stmts ../../src-gcn/gcc/tree-vect-loop.cc:11804 0xf61fab vect_transform_loop(_loop_vec_info*, gimple*) ../../src-gcn/gcc/tree-vect-loop.cc:11969 0xf9d8cb vect_transform_loops ../../src-gcn/gcc/tree-vectorizer.cc:1006 0xf9defd try_vectorize_loop_1 ../../src-gcn/gcc/tree-vectorizer.cc:1152 0xf9defd try_vectorize_loop ../../src-gcn/gcc/tree-vectorizer.cc:1182 0xf9e374 execute ../../src-gcn/gcc/tree-vectorizer.cc:1298 Please submit a full bug report, with preprocessed source (by using -freport-bug). The bug is not reproducible, so it is likely a hardware or OS problem. make[8]: *** [Makefile:26337: libc/string/libc_a-memset.o] Error 1 make[8]: *** Waiting for unfinished jobs.... however, retrying the newlib build always fails with this issue