https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
--- Comment #3 from Jeremy R. <llvm at rifkin dot dev> --- Interestingly it's optimized correctly on -Os
llvm at rifkin dot dev via Gcc-bugs Mon, 09 Aug 2021 04:55:55 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822
--- Comment #3 from Jeremy R. <llvm at rifkin dot dev> --- Interestingly it's optimized correctly on -Os