Commit debd8f30 by Chung-Lin Tang Committed by Chung-Lin Tang

re PR middle-end/61430 (ICE in lra_create_copy)

2014-06-16  Chung-Lin Tang  <cltang@codesourcery.com>

	PR middle-end/61430
	* lra-lives.c (process_bb_lives): Skip creating copy during
	insn scan when src/dest has constrained to same regno.

From-SVN: r211701
parent 6192fa79
2014-06-16 Chung-Lin Tang <cltang@codesourcery.com>
PR middle-end/61430
* lra-lives.c (process_bb_lives): Skip creating copy during
insn scan when src/dest has constrained to same regno.
2014-06-15 Jan Hubicka <hubicka@ucw.cz>
* tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again
......
......@@ -558,7 +558,11 @@ process_bb_lives (basic_block bb, int &curr_point)
/* It might be 'inheritance pseudo <- reload pseudo'. */
|| (src_regno >= lra_constraint_new_regno_start
&& ((int) REGNO (SET_DEST (set))
>= lra_constraint_new_regno_start))))
>= lra_constraint_new_regno_start)
/* Remember to skip special cases where src/dest regnos are
the same, e.g. insn SET pattern has matching constraints
like =r,0. */
&& src_regno != (int) REGNO (SET_DEST (set)))))
{
int hard_regno = -1, regno = -1;
......
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