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++/54764] In class initialization of non-static lambda member can't be used in class with default template paramer
Date: Sun, 17 Mar 2013 02:40:00 -0000	[thread overview]
Message-ID: <bug-54764-4-dsqzfBIseN@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54764-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 02:39:05 UTC ---
Author: jason
Date: Sun Mar 17 02:38:50 2013
New Revision: 196742

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196742
Log:
    PR c++/54764
    PR c++/55972
    * name-lookup.h (tag_scope): Add ts_lambda.
    * semantics.c (begin_lambda_type): Use it.
    * decl.c (xref_tag_1): Set CLASSTYPE_LAMBDA_EXPR.
    * pt.c (check_default_tmpl_args): Ignore lambdas.
    (push_template_decl_real): Handle lambdas.
    * tree.c (no_linkage_check): Adjust lambda check.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg4.C
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/name-lookup.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/tree.c


  parent reply	other threads:[~2013-03-17  2:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01  6:43 [Bug c++/54764] New: " leonid at volnitsky dot com
2012-10-01 11:55 ` [Bug c++/54764] " daniel.kruegler at googlemail dot com
2012-10-01 12:09 ` paolo.carlini at oracle dot com
2013-03-12 21:41 ` jason at gcc dot gnu.org
2013-03-17  2:40 ` jason at gcc dot gnu.org [this message]
2013-03-23  5:09 ` 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-54764-4-dsqzfBIseN@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).