OSDN Git Service

PR c++/31074
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 4374e6b..9d0ac8c 100644 (file)
@@ -1,3 +1,82 @@
+2007-04-13  Jason Merrill  <jason@redhat.com>
+
+       PR c++/31074
+       * call.c (reference_binding): Add c_cast_p parm.  If true,
+       add quals to TO as needed to make it reference-compatible.
+
+2007-04-11  Jan Hubicka  <jh@suse.cz>
+
+       * cp/class.c (convert_to_base_statically): Fold produced tree; verify
+       that we are not processing template_decl.
+
+2007-04-09  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/31449
+       * class.c (build_base_path): Ensure that the converted pointer has
+       the same cv-qualification as the input.
+
+2007-04-09  Paolo Carlini  <pcarlini@suse.de>
+
+       * tree.c (cp_tree_equal): Deal with TRAIT_EXPR.
+
+2007-04-08  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * cp-objcp-common.h (LANG_HOOKS_TREE_INLINING_ADD_PENDING_FN_DECLS):
+       Do not set it.
+       (LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Do not set it.
+       * tree.c (cp_add_pending_fn_decls): Remove.
+       * cp-tree.h (cp_add_pending_fn_decls): Remove prototype.
+
+2007-04-07  Daniel Berlin  <dberlin@dberlin.org>
+
+       Revert change removing staticp.
+
+2007-04-06  Daniel Berlin  <dberlin@dberlin.org>
+
+       * cp-objcp-common.c (cxx_staticp): Remove.
+       * cp-objcp-common.h (LANG_HOOKS_STATICP): Remove.
+       * cp-tree.h (cxx_staticp):      
+
+2007-04-04  Danny Smith  <dannysmith.users.sourceforge.net>
+
+       * class.c (check_for_override): Don't remove dllmport attribute
+       of virtual methods.
+
+2007-04-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/30847
+       * typeck.c (build_modify_expr): For COND_EXPR on LHS, if RHS has void
+       type issue error and return early.
+
+2007-03-30  Jason Merrill  <jason@redhat.com>
+
+       PR c++/31187
+       * typeck.c (cp_type_readonly): New fn.
+       * cp-tree.h: Declare it.
+       * decl.c (start_decl): Set implicit DECL_THIS_STATIC here.
+       (cp_finish_decl): Not here.
+
+2007-03-31  Richard Guenther  <rguenther@suse.de>
+
+       * optimize.c (maybe_clone_body): Replace splay-tree usage by
+       pointer-map.
+
+2007-03-31  Douglas Gregor  <doug.gregor@gmail.com>
+
+       PR c++/31138
+       PR c++/31140
+       PR c++/31141
+       * parser.c (declarator_can_be_parameter_pack): New.
+       (cp_parser_template_parameter): Only parse the `...' if the
+       declarator can be a parameter pack.
+       (cp_parser_parameter_declaration): Ditto. Also, handle when TYPE
+       is NULL.
+       * pt.c (find_parameter_packs_r): Look into the bounds on integer
+       types (they could be used as array bounds). 
+       (check_for_bare_parameter_packs): Deal with TEMPLATE_PARM_INDEX.
+       (tsubst_pack_expansion): Handle failure to expand parameter
+       packs.
+       
 2007-03-30  Paolo Carlini  <pcarlini@suse.de>
 
        PR c++/26099