https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86652
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This seems like the const is applying to the function (not the function type that it is returning).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86652
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This seems like the const is applying to the function (not the function type that it is returning).