https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123303
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >The function has two return statements each of which has a different type, Except the C++ front-end can't figure that out without full instantiation of the functions as the return type is auto. -ftemplate-depth= should be hit but it is so high that it takes a long time to hit in this case; I think.
