On Tue, 24 Mar 2020, Martin Liška wrote: > Hi. > > This patch caused: > > gcc > /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/990625-2.c > -O3 -g -fno-tree-dce -c > during GIMPLE pass: ifcvt > /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/990625-2.c: > In function ‘broken030599’: > /home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/990625-2.c:2:1: > internal compiler error: Segmentation fault > 2 | broken030599(int *n) > | ^~~~~~~~~~~~ > 0xe32f1f crash_signal > ../../gcc/toplev.c:328 > 0x7ffff7999f1f ??? > > /usr/src/debug/glibc-2.31-3.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 > 0x104ffe5 verify_use > ../../gcc/tree-ssa.c:884 > 0x1054607 verify_ssa(bool, bool) > ../../gcc/tree-ssa.c:1161 > 0xd4fb05 execute_function_todo > ../../gcc/passes.c:1992 > 0xd507ae execute_todo > ../../gcc/passes.c:2039 > Please submit a full bug report, > with preprocessed source if appropriate. > Please include the complete backtrace with any bug report. > See <https://gcc.gnu.org/bugs/> for instructions.
Likely /* Delete dead statements. */ gsi = gsi_start_bb (bb); while (!gsi_end_p (gsi)) { needs to instead work back-to-front for debug stmt adjustment to work