https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64512
Bug ID: 64512 Summary: ICE: in sched_analyze_reg, at sched-deps.c:2360 with -O2 -mmemcpy-strategy=vector_loop:-1:align -mno-push-args Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 34388 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34388&action=edit reduced testcase Compiler output: $ gcc -O2 -mmemcpy-strategy=vector_loop:-1:align -mno-push-args testcase.c testcase.c: In function 'foo': testcase.c:20:1: internal compiler error: in sched_analyze_reg, at sched-deps.c:2360 } ^ 0x17210af sched_analyze_reg /mnt/svn/gcc-trunk/gcc/sched-deps.c:2360 0x1722513 sched_analyze_2 /mnt/svn/gcc-trunk/gcc/sched-deps.c:2625 0x1722249 sched_analyze_2 /mnt/svn/gcc-trunk/gcc/sched-deps.c:2731 0x17223c0 sched_analyze_2 /mnt/svn/gcc-trunk/gcc/sched-deps.c:2843 0x1724600 sched_analyze_insn /mnt/svn/gcc-trunk/gcc/sched-deps.c:2993 0x1725f0b deps_analyze_insn(deps_desc*, rtx_insn*) /mnt/svn/gcc-trunk/gcc/sched-deps.c:3731 0x17268a9 sched_analyze(deps_desc*, rtx_insn*, rtx_insn*) /mnt/svn/gcc-trunk/gcc/sched-deps.c:3826 0xbf702e compute_block_dependences /mnt/svn/gcc-trunk/gcc/sched-rgn.c:2748 0xbf702e sched_rgn_compute_dependencies(int) /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3272 0xbf9e20 schedule_region /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3028 0xbf9e20 schedule_insns() /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3431 0xbfa67d schedule_insns() /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3416 0xbfa67d rest_of_handle_sched2 /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3655 0xbfa67d execute /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3791 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. Tested revisions: r219255 - ICE