From: Jason Merrill <jason@redhat.com>
To: Adam Butcher <adam@jessamine.co.uk>,
Paolo Carlini <paolo.carlini@oracle.com>
Cc: gcc-patches@gcc.gnu.org,
Alexander Adam <alexander.adam@informatik.tu-chemnitz.de>,
Jonathan Wakely <redi@gcc.gnu.org>
Subject: Re: [PATCH] Fix PR c++/61537
Date: Wed, 25 Jun 2014 12:46:00 -0000 [thread overview]
Message-ID: <53AAC4B2.3040905@redhat.com> (raw)
In-Reply-To: <6e7aaced1d26c1cb5d72967ffd7dae39@imap.force9.net>
On 06/24/2014 07:04 PM, Adam Butcher wrote:
> I've fixed these issues up in my tree and moved the test to g++.dg.
Please put it in g++.dg/template; I'd prefer not to clutter the top
directory.
> + bool template_parm_lists_apply
> + = parser->num_template_parameter_lists;
> + for (cp_binding_level *s = current_binding_level; s; s = s->level_chain)
> + if (s->kind == sk_function_parms)
> + template_parm_lists_apply = false;
Let's only start walking if there are template parameters, and stop
walking when we reach them.
Jason
next prev parent reply other threads:[~2014-06-25 12:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-24 21:08 Adam Butcher
2014-06-24 22:25 ` Paolo Carlini
2014-06-24 23:05 ` Adam Butcher
2014-06-25 12:46 ` Jason Merrill [this message]
2014-06-25 20:05 ` Adam Butcher
2014-06-25 20:57 ` Jason Merrill
2014-06-26 5:08 ` Adam Butcher
2014-06-26 16:16 ` Jason Merrill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53AAC4B2.3040905@redhat.com \
--to=jason@redhat.com \
--cc=adam@jessamine.co.uk \
--cc=alexander.adam@informatik.tu-chemnitz.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=paolo.carlini@oracle.com \
--cc=redi@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).