https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110519
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is already done when compiling with c++ frontend ... For C, it can only done for for loops. Which makes it hard to do with the way gcc handles loops at this point.