re PR c++/51459 ('double free or corruption' involving std::function and lambdas)
[platform/upstream/gcc.git] / gcc / cp / ChangeLog
index ebb636e..70a93bd 100644 (file)
@@ -1,3 +1,10 @@
+2011-12-08  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51459
+       * pt.c (tsubst_expr) [DECL_EXPR]: Handle capture proxies properly.
+       * semantics.c (insert_capture_proxy): No longer static.
+       * cp-tree.h: Declare it.
+
 2011-12-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/51401