OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
1 2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>
2
3         PR c++/42038
4         * except.c (expand_start_catch_block): Deal correctly with
5         do_begin_catch returning error_mark_node.
6
7 2010-01-20  Jason Merrill  <jason@redhat.com>
8
9         PR c++/41788
10         * class.c (layout_class_type): Set packed_maybe_necessary for packed
11         non-PODs.
12
13         PR c++/41920
14         * semantics.c (build_lambda_object): Call mark_used on captured
15         variables.
16
17         PR c++/40750
18         * decl.c (grokdeclarator): Clear type_quals for a member function
19         declared using a typedef.  Don't complain about adding cv-quals
20         to a function typedef in C++0x mode.
21
22 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
23
24         * decl.c (create_array_type_for_decl): Remove set but not used
25         variable error_msg.  Remove break stmts after return stmts.
26
27 2010-01-19  Dodji Seketeli  <dodji@redhat.com>
28
29         * error.c (dump_template_parms, count_non_default_template_args):
30         Revert fix of PR c++/42634.
31
32 2010-01-18  Dodji Seketeli  <dodji@redhat.com>
33
34         PR c++/42634
35         * error.c (dump_template_parms): Use innermost template
36         arguments before calling count_non_default_template_args.
37         (count_non_default_template_args): We are being called with
38         template innermost arguments now. There is no need to ensure
39         that again.
40
41 2010-01-18  Dodji Seketeli  <dodji@redhat.com>
42
43         PR c++/42766
44         * cvt.c (build_expr_type_conversion): Look through OVERLOAD.
45
46 2010-01-17  Dodji Seketeli  <dodji@redhat.com>
47
48         PR c++/42697
49         *pt.c (tsubst_decl):  Revert commit for PR c++/42697.
50
51 2010-01-17  Dodji Seketeli  <dodji@redhat.com>
52
53         PR c++/42697
54         *pt.c (tsubst_decl): Get the arguments of a specialization from
55         the specialization template, not from the most general template.
56
57 2010-01-16  Jason Merrill  <jason@redhat.com>
58
59         PR c++/42761
60         * semantics.c (finish_decltype_type): Within a template, treat
61         unresolved CALL_EXPR as dependent.
62
63 2010-01-15  Dodji Seketeli  <dodji@redhat.com>
64
65         * error.c (dump_template_parms,count_non_default_template_args):
66         Revert changes of PR c++/42634.
67
68 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
69
70         PR middle-end/42674
71         * decl.c (finish_function): Don't emit -Wreturn-type warnings in
72         functions with noreturn attribute.
73
74 2010-01-14  Jason Merrill  <jason@redhat.com>
75
76         PR c++/42701
77         * call.c (build_new_method_call): Don't free the vec here.
78
79         PR c++/42655
80         * call.c (convert_like_real): Do full decay_conversion for ck_rvalue.
81
82 2010-01-13  Dodji Seketeli  <dodji@redhat.com>
83
84         PR c++/42634
85         * error.c (dump_template_parms): Use innermost template
86         arguments before calling count_non_default_template_args.
87         (count_non_default_template_args): We are being called with
88         template innermost arguments now. There is no need to ensure
89         that again.
90
91 2010-01-07  Dodji Seketeli  <dodji@redhat.com>
92
93         c++/40155
94         * pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
95         arguments that were previously deduced.
96
97 2010-01-05  Jason Merrill  <jason@redhat.com>
98
99         * pt.c (unify_pack_expansion): Handle deduction from init-list.
100         * call.c (build_over_call): Don't complain about it.
101
102 2010-01-04  Jason Merrill  <jason@redhat.com>
103
104         PR c++/42555
105         * pt.c (tsubst_decl): Don't apply type attributes in place.
106
107         PR c++/42567
108         * semantics.c (describable_type): Remove decltype comment and
109         semantics.
110
111
112 \f
113 Copyright (C) 2010 Free Software Foundation, Inc.
114
115 Copying and distribution of this file, with or without modification,
116 are permitted in any medium without royalty provided the copyright
117 notice and this notice are preserved.