http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60137
Bug ID: 60137 Summary: Code fails with -mcpu=power8 -O3 -mno-vsx Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: meissner at gcc dot gnu.org Created attachment 32097 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32097&action=edit Program to show the problem If you disable VSX but enable vectorization and power8 code generation, the compiler returns a cannot split insn error: foo.c: In function ‘init_reg_sets_1’: foo.c:10:1: error: could not split insn } ^ (insn:TI 730 812 622 (set (reg:V16QI 6 6 [orig:378 vect_patt_115.53 ] [378]) (mem/c:V16QI (reg:DI 9 9) [0 S16 A128])) 1080 {*altivec_movv16qi} (expr_list:REG_DEAD (reg:DI 9 9) (nil))) foo.c:10:1: internal compiler error: in final_scan_insn, at final.c:2963 0x8ef868 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/meissner/fsf-src/trunk/gcc/rtl-error.c:109 0x6ed23d final_scan_insn(rtx_def*, _IO_FILE*, int, int, int*) /home/meissner/fsf-src/trunk/gcc/final.c:2963 0x6ed661 final(rtx_def*, _IO_FILE*, int) /home/meissner/fsf-src/trunk/gcc/final.c:2024 0x6ed889 rest_of_handle_final /home/meissner/fsf-src/trunk/gcc/final.c:4438 0x6ed889 execute /home/meissner/fsf-src/trunk/gcc/final.c:4513 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.