https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65371
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |rtl-optimization
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
On x86 I see
func:
.LFB0:
.cfi_startproc
movq 67112960, %rax
orq $65536, %rax
movq %rax, 67112960
.L2:
movq 67112960, %rax
testl $131072, %eax
je .L2
movq 67112960, %rax
orq $16777216, %rax
movq %rax, 67112960
ret
not very optimal for -Os either.