]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/60486 ([avr] superfluous or missing comparision after addition or subtra...
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 13 Mar 2014 09:16:53 +0000 (09:16 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 13 Mar 2014 09:16:53 +0000 (09:16 +0000)
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

gcc/ChangeLog
gcc/config/avr/avr.c

index 7d3cd4efc93697f6e9312ef4364ed7e12b3c1074..b88ee28f9c6af245d459eec446d8b5062ae16018 100644 (file)
@@ -1,3 +1,9 @@
+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
index cbfa4b7c3fbe258227034600c30300ed619c9196..e16f3bf058ad52f0365fe732fb19ddb747ce7199 100644 (file)
@@ -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)
     {