diff mbox series

[committed] Get avr building again

Message ID 747549da-25d2-dafa-7d53-dccbde9955f8@gmail.com
State New
Headers show
Series [committed] Get avr building again | expand

Commit Message

Jeff Law May 5, 2021, 3:18 p.m. UTC
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 <jlaw@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.

Comments

Senthil Kumar Selvaraj May 6, 2021, 10 a.m. UTC | #1
Jeff Law via Gcc-patches writes:

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

Thanks, I was about to send a patch for that.

Regards
Senthil
>
>
> Jeff
diff mbox series

Patch

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);