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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to polarlinda6 from comment #3)
> For the special behavior that occurs with `A<...>::value`, I hope to
> eliminate this inconsistency.

GCC counts each instantiation of a template that happens. So in this case it is
`A<...>` and then `A<...>::value`.

Anyways Using -ftemplate-depth= should not be done unless you ran into the
limit in the first place.

Relaying on -ftemplate-depth= except to increase it is not correct way to
implement recusive templates.

Reply via email to