https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86558
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC cannot detect all loops in templated code this is why there is a template instantiation depth.