https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035
--- Comment #12 from Pontakorn Prasertsuk <ptk.prasertsuk at gmail dot com> --- I notice that GCC also does not optimize this case: https://godbolt.org/z/7oGqjqqz4
ptk.prasertsuk at gmail dot com via Gcc-bugs Mon, 05 Jun 2023 22:49:16 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110035
--- Comment #12 from Pontakorn Prasertsuk <ptk.prasertsuk at gmail dot com> --- I notice that GCC also does not optimize this case: https://godbolt.org/z/7oGqjqqz4