https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121461
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #1) > Note that the thread is about a userland parser in libv4l (which does NOT > use libbpf), but Clang doesn't do this optimisation for the testcase. > > I've tried looking for why but can't find anything clear other than old > ac2e25026fa7a198c33fe521d9c02865ede12981 in llvm and > cc290a9e912e68677b8c33a3c82740435a6c04d8 as well. For cross reference: https://github.com/llvm/llvm-project/commit/ac2e25026fa7a198c33fe521d9c02865ede12981 https://github.com/llvm/llvm-project/commit/cc290a9e912e68677b8c33a3c82740435a6c04d8