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

2010-05-06 Thread jason at gcc dot gnu dot org


--- Comment #4 from jason at gcc dot gnu dot org  2010-05-06 16:49 ---
Fixed for 4.5.1.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.1
Version|4.5.0   |4.4.5


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



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

2010-05-06 Thread jason at gcc dot gnu dot org


--- Comment #5 from jason at gcc dot gnu dot org  2010-05-06 16:49 ---
.


-- 

jason at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



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

2010-04-27 Thread jason at gcc dot gnu dot org


--- Comment #2 from jason at gcc dot gnu dot org  2010-04-27 21:26 ---
Subject: Bug 43856

Author: jason
Date: Tue Apr 27 21:26:25 2010
New Revision: 158807

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158807
Log:
PR c++/43856
* name-lookup.c (qualify_lookup): Disqualify lambda op().
* class.c (current_nonlambda_class_type): New fn.
* semantics.c (nonlambda_method_basetype): New.
* cp-tree.h: Declare them.
* tree.c (maybe_dummy_object): Handle implicit 'this' capture.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/name-lookup.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog


-- 


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



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

2010-04-27 Thread jason at gcc dot gnu dot org


--- Comment #3 from jason at gcc dot gnu dot org  2010-04-27 23:03 ---
Subject: Bug 43856

Author: jason
Date: Tue Apr 27 23:03:06 2010
New Revision: 158815

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158815
Log:
PR c++/43856
* name-lookup.c (qualify_lookup): Disqualify lambda op().
* semantics.c (nonlambda_method_basetype): New.
* cp-tree.h: Declare it.
* tree.c (maybe_dummy_object): Handle implicit 'this' capture.

Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C
Modified:
branches/gcc-4_5-branch/gcc/cp/ChangeLog
branches/gcc-4_5-branch/gcc/cp/cp-tree.h
branches/gcc-4_5-branch/gcc/cp/name-lookup.c
branches/gcc-4_5-branch/gcc/cp/semantics.c
branches/gcc-4_5-branch/gcc/cp/tree.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


-- 


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



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

2010-04-22 Thread paolo dot carlini at oracle dot com


--- Comment #1 from paolo dot carlini at oracle dot com  2010-04-22 20:04 
---
Let's CC Jason.


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 CC|paul dot bibbings at gmail  |jason at gcc dot gnu dot org
   |dot com |


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