OSDN Git Service

PR c++/21336
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 66a3d4f..28dc483 100644 (file)
@@ -1,9 +1,62 @@
+2005-06-03  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/21336
+       * cp-tree.h (grok_op_properties): Remove friendp parameter.
+       * decl.c (grokfndecl): Adjust call.
+       (grok_op_properties): Determine the class of which the function is
+       a member by looking at its DECL_CONTEXT, not current_class_type.
+       * pt.c (tsubst_decl): Adjust call to grok_op_properties.
+
+2005-06-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * method.c (synthesize_method): Add addtional arg to warning call.
+
+       PR c++/21280
+       * Make-lang.in (method.o): Add diagnostic.h
+       * decl.c (start_preparsed_function): Use decl's location for file
+       info.
+       * decl2.c (cp_finish_file): Set input_location before synthesizing
+       a function.
+       (mark_used): When deferring a synthesized function, save current
+       location.  Do not set function's location when actually
+       synthesizing it.
+       * method.c: #include diagnostic.h.
+       (synthesize_method): Set the functions source location.  Show
+       needed location if errors are emitted.
+
+       * decl.c (start_decl): Simplify specialization handling. Remove
+       unneeded CLASSTYPE_TEMPLATE_INSTANTIATION check.
+       * mangle.c (discriminator_for_local_entity): Use VEC_index.
+
+       PR c++/20350
+       * decl.c (duplicate_decls): Copy all of DECL_USE_TEMPLATE.
+
+       PR c++/21151
+       * name-lookup.c (pushtag): Push local class even in a template.
+
+2005-05-31  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/21165
+       * init.c (integral_constant_value): Check the type of the
+       initializer, not the decl.
+
+2005-05-30  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/21784
+       * name-lookup.c (do_nonmember_using_decl): Ignore builtin
+       functions, even when the used name is not a function.
+
 2005-05-30  Kazu Hirata  <kazu@cs.umass.edu>
 
        * operators.def, optimize.c: Update copyright.
 
 2005-05-28  Mark Mitchell  <mark@codesourcery.com>
 
+       PR c++/21210
+       * call.c (standard_conversion): Permit conversions to complex
+       types if conversion to the corresponding scalar type would be
+       permitted.
+
        PR c++/21340
        * method.c (implicitly_declare_fn): Clear processing_template_decl
        when generating implicit declaration.