[Bug c++/43831] New: [C++0x] gcc-4.5.0 does not fail invalid lambda captures (against n3092 5.1.2/8)

2010-04-21 Thread paul dot bibbings at gmail dot com
uot;_5_1_2_8.cpp" # 1 "" # 1 "" # 1 "_5_1_2_8.cpp" struct S2 { void f(int i); }; void S2::f(int i) { [&, i]{ }; [&, &i]{ }; [=, this]{ }; } -- Summary: [C++0x] gcc-4.5.0 does not fail invalid lambda captures (against n3092 5.1.2/8) Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paul dot bibbings at gmail dot com GCC host triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43831

[Bug c++/43856] New: [C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement

2010-04-22 Thread paul dot bibbings at gmail dot com
Summary: [C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paul dot bibbings at gmail dot com GCC host triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43856

[Bug c++/43875] New: gcc-4.5.0 - ICE on invalid lambda return

2010-04-23 Thread paul dot bibbings at gmail dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paul dot bibbings at gmail dot com GCC host triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43875

[Bug c++/43886] New: [C++0x] name lookup failure on un-used local variable in lambda compound-statement

2010-04-25 Thread paul dot bibbings at gmail dot com
ReportedBy: paul dot bibbings at gmail dot com GCC host triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43886