OSDN Git Service

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