https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101179
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > Only the last one produces the best code. So for clang, f1-f3 produces the same code but f4 is bad. It was only fixed in clang 10.