1 2004-01-05 Mark Mitchell <mark@codesourcery.com>
4 * parser.c (cp_parser_class_head): Reorder logic to check for
7 2004-01-04 Mark Mitchell <mark@codesourcery.com>
10 * name-lookup.c (lookup_using_namespace): Remove spacesp
12 (unqualified_namespace_lookup): Likewise.
13 (lookup_qualified_name): Adjust accordingly.
14 (lookup_name_real): Likewise.
15 (lookup_arg_dependent): Do not eliminate the namespace of the
16 functions found by unqualified name lookup unless that is the
19 2004-01-04 Andrew Pinski <pinskia@physics.uc.edu>
21 * semantics.c (push_deferring_access_checks): Fix format.
22 (resume_deferring_access_checks): Likewise.
23 (stop_deferring_access_checks): Likewise.
24 (pop_deferring_access_checks): Likewise.
25 (get_deferred_access_checks): Likewise.
26 (pop_to_parent_deferring_access_checks): Likewise.
27 (perform_deferred_access_checks): Likewise.
28 (perform_or_defer_access_check): Likewise.
30 2004-01-04 Richard Henderson <rth@redhat.com>
32 * call.c (build_over_call): Don't create a save_expr of an
33 aggregate, but rather its address.
35 2004-01-04 Mark Mitchell <mark@codesourcery.com>
38 * parser.c (cp_parser_postfix_expression): Allow "." to appear in
39 an offsetof expression.
41 * parser.c (cp_parser_parameter_declaration): Fix comment.
44 * call.c (CHECK_COPY_CONSTRUCTOR_P): New macro.
45 (reference_binding): Set it when appropriate.
46 (build_temp): New function, split out from ...
47 (convert_like_real): ... here. Honor CHECK_COPY_CONSTRUCTOR_P.
48 (initialize_reference): Likewise.
51 * parser.c (cp_parser): Add in_type_id_in_expr_p.
52 (cp_parser_new): Initialize it.
53 (cp_parser_postfix_expression): Set it.
54 (cp_parser_sizeof_operand): Likewise.
55 (cp_parser_parameteR_declaration): Do not commit early to tenative
56 parsers when in_type_id_in_expr_p is set.
58 2004-01-03 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
61 * parser.c (cp_parser_template_argument): Don't call
62 make_unbound_class_template directly.
63 (cp_parser_lookup_name): Don't extract TEMPLATE_DECL from
64 UNBOUND_CLASS_TEMPLATE tree node.
66 2004-01-02 Richard Sandiford <rsandifo@redhat.com>
69 * method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.
71 2004-01-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
74 * cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): New macro.
75 (DECL_FUNCTION_TEMPLATE_P): Use it.
76 (DECL_CLASS_TEMPLATE_P): Likewise.
77 * parser.c (cp_parser_lookup_name): Add is_template parameter.
78 (cp_parser_type_parameter): Adjust call to cp_parser_lookup_name.
79 (cp_parser_template_name): Likewise.
80 (cp_parser_elaborated_type_specifier): Likewise.
81 (cp_parser_namespace_name): Likewise.
82 (cp_parser_class_name): Likewise.
83 (cp_parser_lookup_name_simple): Likewise.
85 See ChangeLog.3 for earlier changes.