This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54383] Internal compiler error for lamba function using this-> with -std=c++0x
- From: "ogoffart at kde dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 02 Mar 2013 15:12:54 +0000
- Subject: [Bug c++/54383] Internal compiler error for lamba function using this-> with -std=c++0x
- Auto-submitted: auto-generated
- References: <bug-54383-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54383
--- Comment #5 from Olivier Goffart <ogoffart at kde dot org> 2013-03-02 15:12:54 UTC ---
The code in Bug 56464 is valid code:
struct bug { bug*a = [&](){return this;}(); };
(Just in case this may change the priority)