http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59040
Bug ID: 59040 Summary: [4.9 Regression] r203937 caused: FAIL: gcc.dg/torture/memcpy-1.c -O0 (internal compiler error) Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: areg.melikadamyan at gmail dot com, hubicka at gcc dot gnu.org Target: i686 On x86, I got /export/project/git/gcc-regression/master/203937/bld/gcc/xgcc -B/export/project/git/gcc-regression/master/203937/bld/gcc/ /export/project/git/gcc-regression/gcc/gcc/testsuite/gcc.dg/torture/memcpy-1.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -m32 -mtune=pentiumpro -minline-all-stringops -S /export/project/git/gcc-regression/gcc/gcc/testsuite/gcc.dg/torture/memcpy-1.c: In function \u2018my_memcpy\u2019: /export/project/git/gcc-regression/gcc/gcc/testsuite/gcc.dg/torture/memcpy-1.c:8:20: internal compiler error: in expand_set_or_movmem_prologue_epilogue_by_misaligned_moves, at config/i386/i386.c:22998 0xe26c7a expand_set_or_movmem_prologue_epilogue_by_misaligned_moves ../../../../gcc/gcc/config/i386/i386.c:22998 0xe28568 ix86_expand_set_or_movmem ../../../../gcc/gcc/config/i386/i386.c:23646 0xe29175 ix86_expand_movmem(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) ../../../../gcc/gcc/config/i386/i386.c:23909 0xf0392b gen_movmemsi(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) ../../../../gcc/gcc/config/i386/i386.md:15440 0x9f6798 insn_gen_fn::operator()(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) const ../../../../gcc/gcc/recog.h:288 0x9f5feb maybe_gen_insn(insn_code, unsigned int, expand_operand*) ../../../../gcc/gcc/optabs.c:8227 0x9f6158 maybe_expand_insn(insn_code, unsigned int, expand_operand*) ../../../../gcc/gcc/optabs.c:8247 0x7b77a3 emit_block_move_via_movmem ../../../../gcc/gcc/expr.c:1322 0x7b7123 emit_block_move_hints(rtx_def*, rtx_def*, rtx_def*, block_op_methods, unsigned int, long) ../../../../gcc/gcc/expr.c:1178 0x66b3de expand_builtin_memcpy ../../../../gcc/gcc/builtins.c:3138 0x673917 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../../../gcc/gcc/builtins.c:6099 0x7d5f99 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) ../../../../gcc/gcc/expr.c:10208 0x6bb173 expand_call_stmt ../../../../gcc/gcc/cfgexpand.c:2183 0x6bb26d expand_gimple_stmt_1 ../../../../gcc/gcc/cfgexpand.c:2221 0x6bb8ba expand_gimple_stmt ../../../../gcc/gcc/cfgexpand.c:2373 0x6bb9ae expand_gimple_tailcall ../../../../gcc/gcc/cfgexpand.c:2420 0x6c1c5c expand_gimple_basic_block ../../../../gcc/gcc/cfgexpand.c:4189 0x6c37ba gimple_expand_cfg ../../../../gcc/gcc/cfgexpand.c:4731 0x6c3e44 execute ../../../../gcc/gcc/cfgexpand.c:4945 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.