This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] Prefer error + inform to two errors in check_template_shadow
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 21 Jul 2015 09:07:07 -0700
- Subject: Re: [C++ Patch] Prefer error + inform to two errors in check_template_shadow
- Authentication-results: sourceware.org; auth=none
- References: <55A3C015 dot 3070105 at oracle dot com> <55A525A3 dot 2090108 at redhat dot com> <55A52E1F dot 7070408 at oracle dot com> <55AE6D16 dot 6010509 at oracle dot com>
On 07/21/2015 09:02 AM, Paolo Carlini wrote:
I had a look and tried various things... Ultimately the issue is due to
the type_was_error_mark_node becomes integer_type_node trick in
grokdeclarator (which I don't like that much ;)
What happens if we just remove that trick?
Jason