https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67026
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually wait. I think this is invalid and clang is incorrect in not rejecting it. Because you have a call to a non constexpr in a constexpr function; does not matter if it is after a return or not.