public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/51507] [C++0x] Function parameter pack doesn't use in template-argument-list
Date: Fri, 23 Dec 2011 22:09:00 -0000	[thread overview]
Message-ID: <bug-51507-4-ABMSMT5Kc0@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51507-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51507

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-23 22:00:21 UTC ---
Author: jason
Date: Fri Dec 23 22:00:13 2011
New Revision: 182668

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182668
Log:
    PR c++/51507
    * search.c (at_function_scope_p): Also check cfun.
    * pt.c (tsubst_pack_expansion): Check it instead of
    cp_unevaluated_operand.
    (instantiate_template_1): Clear current_function_decl.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic121.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/search.c
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2011-12-23 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12  7:01 [Bug c++/51507] New: " digital-ghost_tsundere at hotmail dot co.jp
2011-12-22 16:07 ` [Bug c++/51507] " jason at gcc dot gnu.org
2011-12-23 22:09 ` jason at gcc dot gnu.org [this message]
2011-12-23 23:03 ` jason at gcc dot gnu.org

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=bug-51507-4-ABMSMT5Kc0@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).