public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54383] New: Internal compiler error for lamba function using this-> with -std=c++0x
@ 2012-08-27  8:34 gerald at pfeifer dot com
  2012-09-24 12:54 ` [Bug c++/54383] " 166291 at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gerald at pfeifer dot com @ 2012-08-27  8:34 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54383
           Summary: Internal compiler error for lamba function using
                    this-> with -std=c++0x
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gerald@pfeifer.com


The following snippet fails with an internal compiler error on
current SVN:

  auto foo = [&](int a) { return a > this->b; };

~/gcc-x86_64/bin/g++ -std=c++0x x.cc
x.cc: In lambda function:
x.cc:1:36: internal compiler error: Segmentation fault
 auto foo = [&](int a) { return a > this->b; };
                                    ^


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-03-04 17:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27  8:34 [Bug c++/54383] New: Internal compiler error for lamba function using this-> with -std=c++0x gerald at pfeifer dot com
2012-09-24 12:54 ` [Bug c++/54383] " 166291 at gmail dot com
2012-09-26 18:45 ` 166291 at gmail dot com
2012-12-06 16:02 ` redi at gcc dot gnu.org
2013-02-16  5:33 ` jason at gcc dot gnu.org
2013-02-27 10:25 ` paolo.carlini at oracle dot com
2013-02-27 10:27 ` paolo.carlini at oracle dot com
2013-03-02 15:13 ` ogoffart at kde dot org
2013-03-04 17:14 ` jason at gcc dot gnu.org
2013-03-04 17:15 ` jason at gcc dot gnu.org

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).