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++/55532] Runtime segfault calling mutable lambda wrapped in a non-mutable lambda within a template function
Date: Sun, 17 Mar 2013 02:37:00 -0000	[thread overview]
Message-ID: <bug-55532-4-Zh2FiBibSs@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55532-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 02:35:35 UTC ---
Author: jason
Date: Sun Mar 17 02:35:18 2013
New Revision: 196729

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196729
Log:
    PR c++/56447
    PR c++/55532
    * pt.c (instantiate_class_template_1): Instantiate lambda capture
    list here.
    (tsubst_copy_and_build): Not here.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv8.C
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-mutable2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c


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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 19:39 [Bug c++/55532] New: " akramnik at gmail dot com
2012-11-29 20:04 ` [Bug c++/55532] " matt at godbolt dot org
2012-11-29 20:16 ` paolo.carlini at oracle dot com
2012-12-06 15:54 ` redi at gcc dot gnu.org
2013-03-13  3:13 ` jason at gcc dot gnu.org
2013-03-17  2:37 ` jason at gcc dot gnu.org [this message]
2013-03-23 19:22 ` 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-55532-4-Zh2FiBibSs@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).