OSDN Git Service

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