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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |14.0
         Resolution|---                         |FIXED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Already fixed on the trunk. Most likely by r14-6420-g85c5efcffed19c .

We get now:
```
func_1:
        movzbl  g1(%rip), %eax
        andl    $1, %eax
        movb    %al, g2(%rip)
        movsbl  %al, %eax
        movl    %eax, g3(%rip)
```

There is a small extra zero extend but the extra load/store is gone

Reply via email to