https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92301

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 47145
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47145&action=edit
Reproduce patch

Ok, steps to reproduce that:

1) install latest GCC trunk and use it as compiler
2) apply the patch
3) build df-scan.o with -O3 -march=skylake
4) echo 'int foo() {}' | ./xgcc -B. -x c -g -O2 -

during RTL pass: stv
<stdin>: In function ‘foo’:
<stdin>:1:1: internal compiler error: in df_reorganize_refs_by_reg_by_reg, at
df-scan.c:1350
0x620205 df_reorganize_refs_by_reg_by_reg
        /home/marxin/Programming/gcc/gcc/df-scan.c:1350
0x9cbac4 df_reorganize_refs_by_reg
        /home/marxin/Programming/gcc/gcc/df-scan.c:1563
0x9cbac4 df_maybe_reorganize_def_refs(df_ref_order)
        /home/marxin/Programming/gcc/gcc/df-scan.c:1717
0x9c077f df_rd_local_compute
        /home/marxin/Programming/gcc/gcc/df-problems.c:401
0x9ba6a1 df_analyze_problem(dataflow*, bitmap_head*, int*, int)
        /home/marxin/Programming/gcc/gcc/df-core.c:1170
0x9ba799 df_analyze_1
        /home/marxin/Programming/gcc/gcc/df-core.c:1227
0x1160cfa convert_scalars_to_vector
        /home/marxin/Programming/gcc/gcc/config/i386/i386-features.c:1621
0x1160cfa execute
        /home/marxin/Programming/gcc/gcc/config/i386/i386-features.c:1909
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.

Reply via email to