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

--- Comment #1 from Imple Lee <lee.imple at gmail dot com> ---
This is probably a regression.
GCC 13.2 can generate optimal code.

See https://godbolt.org/z/4n8ovr7jr .

Reply via email to