https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114258
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Known to work| |15.0
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This looks fixed on the trunk.
The trunk produces:
```
func_1:
.LFB0:
.cfi_startproc
movl b.0+4(%rip), %eax
movl %eax, g_13(%rip)
ret
```
While 14 and before produced:
func_1:
.LFB0:
.cfi_startproc
movl $0, g_13(%rip)
movl $2, %eax
movw %ax, g_13(%rip)
ret