https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116958
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think the fornt-end is producing some odd code here: return *<retval> = ... And that is also confusing some of the optimizers.