OSDN Git Service

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