re PR c++/46220 (Error: invalid covariant return type generated for incomplete class...
[gcc.git] / gcc / cp / ChangeLog
index a080431ff877a4c6988d38f15eea8a167653199c..ce4ade16a84d4c16c3ea7228d901fcdc099f4fea 100644 (file)
@@ -1,3 +1,31 @@
+2011-03-04  Jason Merrill  <jason@redhat.com>
+
+       PR c++/46220
+       * search.c (check_final_overrider): Allow pointer to same incomplete
+       class type with different cv-quals.
+
+2011-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/47974
+       * pt.c (tsubst_template_args): Check argument t for error_mark_node.
+
+2011-03-03  Jason Merrill  <jason@redhat.com>
+
+       PR c++/47950
+       * pt.c (tsubst_copy_and_build) [TARGET_EXPR]: Retain TREE_CONSTANT.
+
+2011-03-02  Jason Merrill  <jason@redhat.com>
+
+       PR c++/47950
+       * parser.c (cp_parser_condition): Don't fold_non_dependent_expr here.
+
+       PR c++/47774
+       * tree.c (build_vec_init_elt): Split out from...
+       (build_vec_init_expr): ...here.
+       (diagnose_non_constexpr_vec_init): New fn.
+       * semantics.c (potential_constant_expression_1): Use it.
+       * cp-tree.h: Declare it.
+
 2011-03-01  Jason Merrill  <jason@redhat.com>
 
        PR c++/46159