re PR middle-end/43300 (ICE: in emit_move_insn, at expr.c:3432)
commitc21723389538275d17f3892a24c50b035baef829
authorMichael Matz <matz@suse.de>
Mon, 15 Mar 2010 16:13:28 +0000 (15 16:13 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Mon, 15 Mar 2010 16:13:28 +0000 (15 16:13 +0000)
tree5a505839c11d52bcf64285b3e5d865e171c3e908
parent610b64e2a274bb1021ee5891fd68e8b2f95e7c1d
re PR middle-end/43300 (ICE: in emit_move_insn, at expr.c:3432)

PR middle-end/43300
* tree-outof-ssa.c (emit_partition_copy): New argument sizeexp,
use it to expand block copies.
(insert_partition_copy_on_edge, insert_rtx_to_part_on_edge,
insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy.
(insert_value_copy_on_edge): Use store_expr for BLKmode values.

testsuite/
* gcc.dg/pr43300.c: New testcase.

From-SVN: r157461
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr43300.c [new file with mode: 0644]
gcc/tree-outof-ssa.c