This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ RFC / Patch] PR 54080, PR 52875 and more (aka SFINAE vs template recursion depth)
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 09 Aug 2013 11:28:45 +0200
- Subject: Re: [C++ RFC / Patch] PR 54080, PR 52875 and more (aka SFINAE vs template recursion depth)
- References: <5203F75A dot 9080206 at oracle dot com> <52042C5C dot 7060702 at redhat dot com> <520496A1 dot 6030700 at oracle dot com> <CAAiZkiB34qGA5heNnAiJjsxyRNHQQ036g-wmNOAx_ro+kY8ODQ at mail dot gmail dot com>
Hi,
On 08/09/2013 10:46 AM, Gabriel Dos Reis wrote:
I think we should find ways to have the pretty printer in the
diagnostic framework stop trying to redo most of the work done by the
type checker. In its current form, that is fragile. -- Gaby
Yeah. That tsubst (..., tf_none, ...) from dump_template_bindings,
always seemed a little weird to me. Fact is, we have got quite a few
serious diagnostic bugs where we print *very little* sensible before the
Error reporting routines re-entered message. Like 54080 and 52875, but
I'm sure there are more.
Do you have any tips about a reasonable way to handle the latter in the
short term?
Thanks!
Paolo.