OSDN Git Service

PR c++/13451
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
1 2004-01-05  Mark Mitchell  <mark@codesourcery.com>
2
3         PR c++/13451
4         * parser.c (cp_parser_class_head): Reorder logic to check for
5         invalid qualification.
6
7 2004-01-04  Mark Mitchell  <mark@codesourcery.com>
8
9         PR c++/13157
10         * name-lookup.c (lookup_using_namespace): Remove spacesp
11         parameter.
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
17         current namespace.
18
19 2004-01-04  Andrew Pinski  <pinskia@physics.uc.edu>
20
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.
29
30 2004-01-04  Richard Henderson  <rth@redhat.com>
31
32         * call.c (build_over_call): Don't create a save_expr of an
33         aggregate, but rather its address.
34
35 2004-01-04  Mark Mitchell  <mark@codesourcery.com>
36
37         PR c++/13529
38         * parser.c (cp_parser_postfix_expression): Allow "." to appear in
39         an offsetof expression.
40
41         * parser.c (cp_parser_parameter_declaration): Fix comment.
42
43         PR c++/12226
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.
49
50         PR c++/13536
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.
57
58 2004-01-03  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
59
60         PR c++/13094
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.
65
66 2004-01-02  Richard Sandiford  <rsandifo@redhat.com>
67
68         PR target/12729
69         * method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.
70
71 2004-01-02  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
72
73         PR c++/13520
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.
84
85 See ChangeLog.3 for earlier changes.