https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123082
--- Comment #2 from Castle "SkyWave" Sun <skywave2023 at outlook dot com> --- Just as a reference: I also reported the same optimization opportunity for Clang/LLVM, with the same test case: https://github.com/llvm/llvm-project/issues/171606 In case it’s useful to compare approaches or behaviors across compilers.
