https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92095
Mikael Pettersson <mikpelinux at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> --- I can reproduce. Fails with gcc -m32 -O1 -mcpu=niagara2 -fPIE and GCC 8/9/10. Works with -m64. Works with GCC 7. > gcc/xgcc -Bgcc -m32 -O1 -mcpu=niagara2 -fPIE -S pr92095.c during RTL pass: reload pr92095.c: In function 'd': pr92095.c:10:1: internal compiler error: Segmentation fault 10 | } | ^ 0x596eef crash_signal /mnt/scratch/gcc-10-20191020/gcc/toplev.c:326 0x247100 validize_mem(rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/explow.c:521 0x86c897 sparc_expand_move(machine_mode, rtx_def**) /mnt/scratch/gcc-10-20191020/gcc/config/sparc/sparc.c:2315 0xa68dbf gen_movdf(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/config/sparc/sparc.md:2469 0x26d60f insn_gen_fn::operator()(rtx_def*, rtx_def*) const /mnt/scratch/gcc-10-20191020/gcc/recog.h:318 0x26d60f emit_move_insn_1(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/expr.c:3727 0x26daa3 emit_move_insn(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/expr.c:3823 0x4076c7 lra_emit_move(rtx_def*, rtx_def*) /mnt/scratch/gcc-10-20191020/gcc/lra.c:499 0x419cef curr_insn_transform /mnt/scratch/gcc-10-20191020/gcc/lra-constraints.c:4397 0x41bdab lra_constraints(bool) /mnt/scratch/gcc-10-20191020/gcc/lra-constraints.c:4994 0x407c6f lra(_IO_FILE*) /mnt/scratch/gcc-10-20191020/gcc/lra.c:2432 0x3bf45f do_reload /mnt/scratch/gcc-10-20191020/gcc/ira.c:5511 0x3bf45f execute /mnt/scratch/gcc-10-20191020/gcc/ira.c:5697 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.