Commit 11e18556 by Uros Bizjak Committed by Kaz Kojima

re PR target/41993 ([sh] ICE in create_pre_exit, at mode-switching.c:399)

	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
parent 3020bfd1
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
......@@ -324,7 +324,10 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes)
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)];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment