https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63491
--- Comment #7 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to Peter Bergner from comment #6) > (In reply to Vladimir Makarov from comment #5) > > Sorry, I can not reproduce the bug on the today trunk. Probably it was > > fixed by numerous changes in LRA since Oct. > > This still fails for me today on my big endian system using revision 220792. > Did you use the exact same compiler options I used? > > > [bergner@makalu-lp1 LRA]$ cat pr63491.i > typedef __int128_t __attribute__((__vector_size__(16))) vector_128_t; > typedef unsigned long long scalar_64_t; > > vector_128_t > foo (void) > { > union { > scalar_64_t i64[2]; > vector_128_t v128; > } u; > u.i64[0] = 1; > u.i64[1] = 2; > return u.v128; > } > [bergner@makalu-lp1 LRA]$ > /home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc/xgcc > -B/home/bergner/gcc/build/gcc-fsf-mainline-pr63491/gcc -O1 -m64 -mcpu=power8 > -mlra -S pr63491.i > pr63491.i: In function ‘foo’: > pr63491.i:14:1: internal compiler error: in check_and_process_move, at > lra-constraints.c:1170 > } > ^ > 0x10994a7b check_and_process_move > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:1167 > 0x1099d45b curr_insn_transform > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:3463 > 0x109a1cdb lra_constraints(bool) > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra-constraints.c:4451 > 0x1098221b lra(_IO_FILE*) > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/lra.c:2292 > 0x109050d7 do_reload > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5418 > 0x1090576f execute > /home/bergner/gcc/gcc-fsf-mainline-pr63491/gcc/ira.c:5589 > Please submit a full bug report, > with preprocessed source if appropriate. I tried again the test on gcc rev. 221324 (Mar 10) with the mentioned options and I've failed to reproduce the crash.