https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36693

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |segher at gcc dot gnu.org
         Resolution|---                         |FIXED
      Known to fail|                            |

--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
GCC now generates the same code for both, no matter what tuning.

get_and_increment1:
        lwz 9,0(3)
        addi 10,9,4
        stw 10,0(3)
        lwz 3,0(9)
        blr

Closing as fixed.

Reply via email to