PR target/41993
* mode-switching.c (create_pre_exit): Set return_copy to
last_insn when copy_start is a pseudo reg.
Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org>
From-SVN: r193210
+2012-11-06 Uros Bizjak <ubizjak@gmail.com>
+ Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR target/41993
+ * mode-switching.c (create_pre_exit): Set return_copy to
+ last_insn when copy_start is a pseudo reg.
+
2012-11-06 Andrey Turetskiy <andrey.turetskiy@gmail.com>
* config/i386/i386.c (bdesc_args): Rename CODE_FOR_avx2_umulhrswv16hi3 to
else
break;
if (copy_start >= FIRST_PSEUDO_REGISTER)
- break;
+ {
+ last_insn = return_copy;
+ continue;
+ }
copy_num
= hard_regno_nregs[copy_start][GET_MODE (copy_reg)];