https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94006
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I thought SRA would have done it. BUT it does not. The C front-end does the optimization while it is gimplifying the original tree for some reason ...