Commit 8f3a3138 by Georg-Johann Lay Committed by Georg-Johann Lay

re PR target/60486 ([avr] superfluous or missing comparision after addition or subtraction)

	PR target/60486
	* config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
	calls of avr_out_plus_1.

From-SVN: r208532
parent 0bb29a05
2014-03-13 Georg-Johann Lay <avr@gjlay.de>
PR target/60486
* config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
calls of avr_out_plus_1.
2014-03-13 Bin Cheng <bin.cheng@arm.com>
* tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record
......
......@@ -6812,8 +6812,8 @@ avr_out_plus (rtx insn, rtx *xop, int *plen, int *pcc, bool out_label)
/* Work out the shortest sequence. */
avr_out_plus_1 (op, &len_minus, MINUS, &cc_plus, code_sat, sign, out_label);
avr_out_plus_1 (op, &len_plus, PLUS, &cc_minus, code_sat, sign, out_label);
avr_out_plus_1 (op, &len_minus, MINUS, &cc_minus, code_sat, sign, out_label);
avr_out_plus_1 (op, &len_plus, PLUS, &cc_plus, code_sat, sign, out_label);
if (plen)
{
......
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