https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122395 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Already fixed upstream too: https://github.com/llvm/llvm-project/commit/536bd7214848a75594bb72ab01e02d13d54fb359