OSDN Git Service

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