https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16564

--- Comment #22 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Volker Reichelt from comment #18)
> The first error message about exceeding the maximum template instantiation
> depth appears rather quickly. So maybe we could make the first error message
> a fatal one to avoid further processing of potentially bogus nested classes.

This is a patch doing exactly that:
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01709.html

However, I probably won't have time until the Christmas holidays to work on it,
so please anyone feel free to take it and get it reviewed and applied. Thanks!

Reply via email to