https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115875
--- Comment #2 from Denis Vlasenko ---
0xUL works, although it uses
b8 ff ff ff ff mov$0x,%eax
instead of
83 c8 ffor $0x,%eax
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115875
Bug ID: 115875
Summary: -Oz optimization of "push IMM; pop REG" is used
incorrectly for 64-bit constants with 31th bit set
Product: gcc
Version: 14.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320
--- Comment #2 from Denis Vlasenko ---
The relevant code in current git seems to be:
static void
expand_set_or_cpymem_via_rep (rtx destmem, rtx srcmem,
rtx destptr, rtx srcptr, rtx value, rtx orig_value,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100320
Bug ID: 100320
Summary: regression: 32-bit x86 memcpy is suboptimal
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c