OSDN Git Service

+ PR c++/51928
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index e88d64e..6dbb433 100644 (file)
@@ -1,3 +1,89 @@
+2012-01-24  Aldy Hernandez  <aldyh@redhat.com>
+           Patrick Marlier  <patrick.marlier@gmail.com>
+
+       PR c++/51928
+       * class.c (set_method_tm_attributes): Use TARGET_THUNK instead of
+       thunk for set_one_vmethod_tm_attributes.
+
+2012-01-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51223
+       * call.c (build_over_call): Check for error_mark_node as
+       TREE_VALUE when default arguments are processed.
+
+2012-01-23  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51930
+       * decl2.c (determine_visibility): Check for visibility attribute
+       on template specialization.
+
+2012-01-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51398
+       * pt.c (parameter_of_template_p): Skip error_mark_node parameters.
+
+2012-01-23  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51925
+       * class.c (add_method): Set OVL_USED for using-decls.
+       * tree.c (ovl_scope): New.
+       * cp-tree.h: Declare it.
+       * parser.c (cp_parser_template_name): Use it.
+       * semantics.c (baselink_for_fns): Likewise.
+       * name-lookup.c (set_inherited_value_binding_p): Likewise.
+
+2012-01-20  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51402
+       * pt.c (lookup_template_class_1): Check context returned by
+       tsubst for error_mark_node.
+
+2012-01-19  Kai Tietz  <ktietz@redhat.com>
+
+       PR c++/51344
+       * decl2.c (save_template_attributes): Use merge_attributes
+       instead of chaining up via TREE_CHAIN.
+
+2012-01-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51889
+       * class.c (finish_struct): Call add_method here for function usings.
+       * semantics.c (finish_member_declaration): Not here.
+
+2012-01-18  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51225
+       * typeck2.c (store_init_value): Within a template guard
+       cxx_constant_value with require_potential_constant_expression.
+       * pt.c (convert_nontype_argument): Likewise.
+
+2012-01-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/51854
+       * mangle.c (write_template_arg_literal): Handle complex.
+
+2012-01-16  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51827
+       * mangle.c (mangle_decl): Don't mangle uninstantiated templates.
+
+       PR c++/51868
+       * typeck.c (build_static_cast_1): Handle bit-fields properly.
+
+2012-01-13  Ian Lance Taylor  <iant@google.com>
+
+       PR c++/50012
+       * typeck.c (enum_cast_to_int): New static function.
+       (cp_build_binary_op): When handling warn_sign_compare, don't test
+       for TREE_NO_WARNING.  Do call enum_cast_to_int.
+       * call.c (avoid_sign_compare_warnings): Remove static function.
+       (build_new_op_1): Don't call avoid_sign_compare_warnings.
+
+2012-01-13  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * decl2.c: Do not include tree-mudflap.h
+       * semantics.c: Likewise.
+
 2012-01-13  Jason Merrill  <jason@redhat.com>
 
        PR c++/20681