OSDN Git Service

PR c++/54325
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index f5edb30..35c620c 100644 (file)
@@ -1,5 +1,36 @@
+2012-12-06  Jason Merrill  <jason@redhat.com>
+
+       PR c++/54325
+       * tree.c (build_aggr_init_expr): Don't check for abstract class.
+       (build_cplus_new): Check here instead.
+
+       PR c++/55058
+       * pt.c (tsubst): Keep the quals when looking through a typedef.
+
+       PR c++/55249
+       * tree.c (build_vec_init_elt): Use the type of the initializer.
+
+       PR c++/54744
+       * pt.c (resolve_typename_type): Check TYPENAME_IS_RESOLVING_P on scope.
+
+       PR c++/54947
+       * parser.c (cp_parser_initializer_list): Don't require an
+       expression in [] to be constant until we know it's a C99
+       designator.
+
+       PR c++/55015
+       PR c++/53821
+       * semantics.c (maybe_add_lambda_conv_op): Revert earlier change.
+       * decl.c (start_preparsed_function): Make local class methods comdat
+       in templates, too.
+
 2012-11-29  Jason Merrill  <jason@redhat.com>
 
+       PR c++/53137
+       * pt.c (tsubst_expr) [DECL_EXPR]: Set LAMBDA_EXPR_THIS_CAPTURE here.
+       (tsubst_copy_and_build) [LAMBDA_EXPR]: And clear it here.
+       (instantiate_class_template_1): Not here.
+
        PR c++/53862
        * pt.c (tsubst_arg_types): Add "end" parameter.
        (check_undeduced_parms): Use it.