https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91241
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- clang++ points out that: ice.C:4:37: warning: all paths through this function will call itself [-Winfinite-recursion] int *A::b(const int &, const int &) { b(); return 0; }