[Bug c++/54798] New: internal compiler error: Segmentation fault

2012-10-03 Thread gcc at boxie dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54798 Bug #: 54798 Summary: internal compiler error: Segmentation fault Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/54798] internal compiler error: Segmentation fault

2012-10-03 Thread gcc at boxie dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54798 --- Comment #1 from gcc at boxie dot eu 2012-10-03 19:44:05 UTC --- Errr.. "The error DOES occur as soon as I use the captured this pointer."

[Bug c++/54798] internal compiler error: Segmentation fault

2012-10-03 Thread gcc at boxie dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54798 --- Comment #2 from gcc at boxie dot eu 2012-10-03 20:01:32 UTC --- Created attachment 28345 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28345 minimal test case I further reduce the test case to a minimum. The ICE only happens

[Bug c++/54798] internal compiler error: Segmentation fault

2012-10-03 Thread gcc at boxie dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54798 --- Comment #4 from Christian Maaser 2012-10-03 21:42:30 UTC --- True, looks like the same bug. My workaround was to define "auto self = this;" outside the lambda function, but using "this->" bypasses the issue as well.