https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779
--- Comment #5 from navidrahimi <navidrahimi at microsoft dot com> --- And this is the behavior of different compilers for this optimization: https://compiler-explorer.com/z/ahdEzxxTv
navidrahimi at microsoft dot com via Gcc-bugs Wed, 10 Nov 2021 12:18:50 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96779
--- Comment #5 from navidrahimi <navidrahimi at microsoft dot com> --- And this is the behavior of different compilers for this optimization: https://compiler-explorer.com/z/ahdEzxxTv