[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2013-02-06 Thread paolo.carlini at oracle dot com


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



Paolo Carlini  changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||DUPLICATE



--- Comment #5 from Paolo Carlini  2013-02-06 
10:13:41 UTC ---

Fixed by the patch which fixed PR54122.



*** This bug has been marked as a duplicate of bug 54122 ***


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-08-29 Thread ripper-tm at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403

--- Comment #1 from Pavel  2012-08-29 10:38:21 UTC 
---
This is a regression. 4.6.3 works well.


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-08-30 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403

Jonathan Wakely  changed:

   What|Removed |Added

 Blocks||54367
   Severity|major   |normal


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-09-10 Thread ripper-tm at yandex dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403

--- Comment #2 from Pavel  2012-09-10 16:58:15 UTC 
---
Described bug seems to refer to a set of bugs related to "this" pointer in
lambdas. They can show up as wrong compiler errors or compiler segfaults.


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-09-11 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54403

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-09-11
 Ever Confirmed|0   |1


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-10-03 Thread paolo.carlini at oracle dot com


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



Paolo Carlini  changed:



   What|Removed |Added



 CC||philipp at fb dot com



--- Comment #3 from Paolo Carlini  2012-10-04 
01:21:42 UTC ---

*** Bug 53921 has been marked as a duplicate of this bug. ***


[Bug c++/54403] [C++11] operator! applied to a member of a templated class in a lambda expression that captures 'this' pointer crashes compiler

2012-11-24 Thread stepik-777 at mail dot ru


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



stepik-777 at mail dot ru changed:



   What|Removed |Added



 CC||stepik-777 at mail dot ru



--- Comment #4 from stepik-777 at mail dot ru 2012-11-24 10:03:55 UTC ---

You can use !this->m_barbar intead of !m_barbar as a workaround.



This bug is still present in 4.7.2.



template

struct Struct

{

int member;



Struct()

{

[=]{ !this->member; }; // this works

[=]{ !member; }; // internal compiler error: Segmentation fault

}

};