Removes references to CC_STATUS_INIT from the avr port, which should get it to the point of building again.


Committed to the trunk.


Jeff

commit b927ffdd6cecd0eeda6ef77df2623519870b1e75
Author: Jeff Law <j...@tachyum.com>
Date:   Wed May 5 09:15:42 2021 -0600

    Remove cc0 remnants from avr port
    
    gcc/
            * config/avr/avr.md: Remove references to CC_STATUS_INIT.

diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index a1a325b7a8c..271f95fbf7a 100644
--- a/gcc/config/avr/avr.md
+++ b/gcc/config/avr/avr.md
@@ -7668,7 +7668,6 @@
   {
     const char *op;
     int jump_mode;
-    CC_STATUS_INIT;
     if (test_hard_reg_class (ADDW_REGS, operands[0]))
       output_asm_insn ("sbiw %0,1" CR_TAB
                        "sbc %C0,__zero_reg__" CR_TAB
@@ -7713,7 +7712,6 @@
   {
     const char *op;
     int jump_mode;
-    CC_STATUS_INIT;
     if (test_hard_reg_class (ADDW_REGS, operands[0]))
       output_asm_insn ("sbiw %0,1", operands);
     else
@@ -7756,7 +7754,6 @@
   {
     const char *op;
     int jump_mode;
-    CC_STATUS_INIT;
     if (test_hard_reg_class (ADDW_REGS, operands[0]))
       output_asm_insn ("sbiw %0,1", operands);
     else
@@ -7799,7 +7796,6 @@
   {
     const char *op;
     int jump_mode;
-    CC_STATUS_INIT;
     output_asm_insn ("ldi %3,1"   CR_TAB
                      "sub %A0,%3" CR_TAB
                      "sbc %B0,__zero_reg__", operands);

Reply via email to