+2010-10-21 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/46117
+ * call.c (add_function_candidate): Don't use TREE_VALUE on null
+ parmnode.
+
2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (cp_parser_objc_method_type): Mark inline. Return a
cp_parser_objc_method_type and to objc_build_method_signature.
(cp_parser_objc_method_prototype_list): Updated calls to
objc_add_method_declaration. Use token->type to determine if it
- is a class method or not.
+ is a class method or not.
(cp_parser_objc_method_definition_list): Same change.
-
+
2010-10-20 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>
PR c++/46056
* cp-lang.c (finish_file): Removed.
* decl2.c (cp_write_global_declarations): Call
objc_write_global_declarations when compiling Objective-C++.
-
+
2010-10-19 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46046
/* Kludge: When looking for a function from a subobject while generating
an implicit copy/move constructor/operator=, don't consider anything
that takes (a reference to) an unrelated type. See c++/44909. */
- else if ((flags & LOOKUP_SPECULATIVE)
- || (current_function_decl
- && DECL_DEFAULTED_FN (current_function_decl)))
+ else if (parmlist
+ && ((flags & LOOKUP_SPECULATIVE)
+ || (current_function_decl
+ && DECL_DEFAULTED_FN (current_function_decl))))
{
if (DECL_CONSTRUCTOR_P (fn))
i = 1;
+2010-10-21 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/46117
+ * g++.dg/parse/crash57.C: New.
+
2010-10-21 Uros Bizjak <ubizjak@gmail.com>
H.J. Lu <hongjiu.lu@intel.com>