C++ PATCH for c++/54277 (wrong cv-quals in lambda)

Jason Merrill jason@redhat.com
Sat Mar 16 19:28:00 GMT 2013


I have no idea why the existing code tried to deduce the desired quals 
from current_class_ref rather than just look at the object it has.  That 
gives the wrong answer if current_class_ref is for a lambda.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 54277.patch
Type: text/x-patch
Size: 1222 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130316/8af84d46/attachment.bin>


More information about the Gcc-patches mailing list