http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58673

            Bug ID: 58673
           Summary: ICE in final_scan_insn for movti_ppc64 with
                    base+offset address
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, dje at gcc dot gnu.org,
                    meissner at gcc dot gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux

Created attachment 30971
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30971&action=edit
testcase

Seeing the following ICE with trunk (r203249). Testcase reduced from CPU2000
benchmark 176.gcc. Adding the option -mvsx-timode results in successful
compile.


[pthaugen@igoo p8_spec_errors]$ /home/pthaugen/install/gcc/trunk/bin/gcc -c
-m64 -O1 -mcpu=power8 bc-optab.c
bc-optab.c: In function ‘bc_expand_binary_operation’:
bc-optab.c:74:1: error: could not split insn
 }
 ^
(insn 40 77 78 (set (reg:TI 10 10 [155])
        (mem:TI (plus:DI (reg:DI 9 9)
                (const_int 112 [0x70])) [0 S16 A64])) bc-optab.c:71 508
{*movti_ppc64}
     (expr_list:REG_DEAD (reg:DI 9 9)
        (expr_list:REG_EQUIV (mem:TI (plus:DI (reg/f:DI 1 1)
                    (const_int 112 [0x70])) [0 S16 A64])
            (nil))))
bc-optab.c:74:1: internal compiler error: in final_scan_insn, at final.c:2949
0x105b23c3 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/rtl-error.c:109
0x1034ecfb final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/final.c:2949
0x1034f1e7 final(rtx_def*, _IO_FILE*, int)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/final.c:2019
0x1034f4df rest_of_handle_final
    /home/pthaugen/src/gcc/trunk/gcc/gcc/final.c:4424
0x1034f4df execute
    /home/pthaugen/src/gcc/trunk/gcc/gcc/final.c:4499
Please submit a full bug report,

Reply via email to