OSDN Git Service

b9420787985f3b83170e0b9ef69f1bedaf009e83
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
1 2010-04-12  Fabien Chene  <fabien.chene@gmail.com>
2
3         PR c++/25811
4         * cp-tree.h (diagnose_uninitialized_cst_or_ref_member): Declare.
5         * init.c (build_new_1): Check for uninitialized const members and
6         uninitialized reference members, when using new without
7         new-initializer. Call diagnose_uninitialized_cst_or_ref_member.
8         (diagnose_uninitialized_cst_or_ref_member): Define, call
9         diagnose_uninitialized_cst_or_ref_member_1.
10         (diagnose_uninitialized_cst_or_ref_member_1): New function.
11
12 2010-04-12  Richard Guenther  <rguenther@suse.de>
13
14         PR c++/43611
15         * semantics.c (expand_or_defer_fn_1): Do not keep extern
16         template inline functions.
17
18 2010-04-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
19
20         PR c++/28584
21         * typeck.c (cp_build_c_cast): Warn for casting integer to larger
22         pointer type.
23
24 2010-04-07  Jason Merrill  <jason@redhat.com>
25
26         PR c++/43016
27         * decl.c (start_preparsed_function): Do defer nested functions.
28
29         PR c++/11094, DR 408
30         * cp-tree.h (VAR_HAD_UNKNOWN_BOUND, SET_VAR_HAD_UNKNOWN_BOUND): New.
31         * decl2.c (finish_static_data_member_decl): Set it.
32         * decl.c (duplicate_decls): Propagate it.
33         * pt.c (tsubst_decl): Don't substitute the domain of an array
34         VAR_DECL if it's set.
35         (regenerate_decl_from_template): Substitute it here.
36         (type_dependent_expression_p): Return true if it's set.
37         * semantics.c (finish_decltype_type): Instantiate such a variable.
38         * typeck.c (cxx_sizeof_expr): Likewise.
39         (strip_array_domain): New.
40
41         * name-lookup.c (current_decl_namespace): Non-static.
42         (pop_nested_namespace): Sanity check.
43         * cp-tree.h: Declare current_decl_namespace.
44         * decl.c (grokvardecl): Use it instead of current_namespace.
45         (grokfndecl): Likewise.
46
47         PR c++/38392
48         * pt.c (tsubst_friend_function): Instatiate a friend that has already
49         been used.
50
51         * pt.c (print_template_statistics): New.
52         * cp-tree.h: Declare it.
53         * tree.c (cxx_print_statistics): Call it.
54
55         PR c++/41970
56         * decl.c (grokvardecl): Tweak warning message.
57         (grokfndecl): Likewise.
58
59 2010-04-07  Dodji Seketeli  <dodji@redhat.com>
60
61         PR c++/42697
62         *pt.c (tsubst_decl): Get the arguments of a specialization from
63         the specialization template, not from the most general template.
64
65 2010-04-07  Dodji Seketeli  <dodji@redhat.com>
66
67         PR c++/40239
68         * typeck2.c (process_init_constructor_record):
69         value-initialize members that are are not explicitely
70         initialized.
71
72 2010-04-07  Jie Zhang  <jie@codesourcery.com>
73
74         PR c++/42556
75         * typeck2.c (split_nonconstant_init_1): Drop empty CONSTRUCTOR
76         when all of its elements are non-constant and have been split out.
77
78 2010-04-06  Taras Glek  <taras@mozilla.com>
79             Jason Merrill  <jason@redhat.com>
80
81         * parser.c (cp_parser_class_specifier): Set class location to that
82         of IDENTIFIER_NODE instead of '{' when possible.
83         * semantics.c (begin_class_definition): Do not overide locations
84         with less precise ones.
85
86 2010-04-06  Jason Merrill  <jason@redhat.com>
87
88         PR c++/43648
89         * name-lookup.c (constructor_name_p): Allow X::~X even for typedefs.
90
91         PR c++/43621
92         * pt.c (maybe_update_decl_type): Check the return value from
93         push_scope.
94
95 2010-04-01  Jason Merrill  <jason@redhat.com>
96
97         * decl.c (next_initializable_field): No longer static.
98         * cp-tree.h: Declare it.
99         * call.c (build_aggr_conv): Fail if there are more initializers
100         than initializable fields.
101
102         * semantics.c (maybe_add_lambda_conv_op): Use null_pointer_node
103         instead of void_zero_node.
104
105 2010-03-31  Dodji Seketeli  <dodji@redhat.com>
106
107         PR c++/43558
108         * cp-tree.h (TEMPLATE_TYPE_PARM_SIBLING_PARMS): New accessor macro.
109         * pt.c (end_template_parm_list): Store sibling template parms of
110         each TEMPLATE_TYPE_PARMs into its TEMPLATE_TYPE_PARM_SIBLING_PARMS.
111         (push_template_decl_real): Don't store the containing template decl
112         into the DECL_CONTEXT of TEMPLATE_TYPE_PARMs anymore.
113         * typeck.c (get_template_parms_of_dependent_type): Get sibling parms
114         of a TEMPLATE_TYPE_PARM from TEMPLATE_TYPE_PARM_SIBLING_PARMS.
115         Simplify the logic.
116
117 2010-03-30  Jason Merrill  <jason@redhat.com>
118
119         PR c++/43076
120         * pt.c (push_template_decl_real): Deal better with running out of
121         scopes before running out of template parms.
122
123         PR c++/41185
124         PR c++/41786
125         * parser.c (cp_parser_direct_declarator): Don't allow VLAs in
126         function parameter context.  Don't print an error if parsing
127         tentatively.
128
129         PR c++/43559
130         * pt.c (more_specialized_fn): Don't control cv-qualifier check
131         with same_type_p.
132
133 2010-03-26  Jason Merrill  <jason@redhat.com>
134
135         PR c++/43509
136         * parser.c (cp_parser_qualifying_entity): Do accept enum names in
137         c++0x mode, but not other type-names.
138
139 2010-03-26  Dodji Seketeli  <dodji@redhat.com>
140
141         PR c++/43327
142         * pt.c (add_to_template_args): Support NULL ARGS;
143         (most_specialized_class): call coerce_template_parms on
144         template arguments passed to get_class_bindings. Use
145         add_to_template_args.
146         (unify): Handle VAR_DECLs.
147
148 2010-03-26  Dodji Seketeli  <dodji@redhat.com>
149
150         * cp-tree.h (get_template_parms_at_level): Change unsigned parm
151         into int.
152         * pt.c (get_template_parms_at_level): Adjust.
153
154 2010-03-25  Dodji Seketeli  <dodji@redhat.com>
155
156         PR c++/43206
157         * cp-tree.h (get_template_parms_at_level): Declare ...
158         * pt.c (get_template_parms_at_level): ... new function.
159         * typeck.c (get_template_parms_of_dependent_type): If a template
160         type parm's DECL_CONTEXT isn't yet set, get its siblings from
161         current_template_parms. Use get_template_parms_at_level. Remove
162         useless test.
163         (incompatible_dependent_types_p): If we get empty parms from just one
164         of the template type parms we are comparing then the template parms are
165         incompatible.
166
167 2010-03-24  Jason Merrill  <jason@redhat.com>
168
169         PR c++/43502
170         * parser.c (make_declarator): Initialize id_loc.
171         (cp_parser_lambda_declarator_opt): And set it.
172
173 2010-03-23  Jason Merrill  <jason@redhat.com>
174
175         Make lambda conversion op and op() non-static.
176         * semantics.c (maybe_add_lambda_conv_op): Make non-static.
177         Also add the thunk function returned by the conversion op.
178         Mark the conversion deleted if the op() is variadic.
179         * decl2.c (mark_used): Give helpful message about deleted conversion.
180         * parser.c (cp_parser_lambda_declarator_opt): Don't make op() static.
181         * semantics.c (finish_this_expr): Adjust.
182         * mangle.c (write_closure_type_name): Adjust.
183         * decl.c (grok_op_properties): Don't allow it.
184         * call.c (build_user_type_conversion_1): No static conversion ops.
185         (build_op_call): Or op().
186
187         * decl2.c (change_return_type): Fix 'this' quals.
188
189 2010-03-22  Jason Merrill  <jason@redhat.com>
190
191         PR c++/43333
192         * tree.c (pod_type_p): Use old meaning in C++98 mode.
193
194         PR c++/43281
195         * pt.c (contains_auto_r): New fn.
196         (do_auto_deduction): Use it.
197         (tsubst): Don't look at TREE_TYPE of a TEMPLATE_TYPE_PARM.
198
199 2010-03-20  Simon Martin  <simartin@users.sourceforge.net>
200
201         PR c++/43081:
202         * decl2.c (grokfield): Handle invalid initializers for member
203         functions.
204
205 2010-03-20  Dodji Seketeli  <dodji@redhat.com>
206
207         PR c++/43375
208         * method.c (make_alias_for): Avoid crashing when DECL_LANG_SPECIFIC
209         is NULL.
210         * decl2.c (vague_linkage_p): Likewise.
211
212 2010-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
213
214         PR c++/43418
215         * parser.c (cp_parser_for_init_statement): Use NULL_TREE, not
216         false, in the cp_parser_expression_statement call.
217
218 2010-03-05  Jason Merrill  <jason@redhat.com>
219
220         * mangle.c (mangle_decl): Give name collision error even without
221         ASM_OUTPUT_DEF.
222
223 2010-03-04  Marco Poletti  <poletti.marco@gmail.com>
224
225         * pt.c (process_partial_specialization): Use error_n instead of
226         error.
227
228 2010-03-03  Jason Merrill  <jason@redhat.com>
229
230         PR c++/12909
231         * mangle.c (mangle_decl): Handle VAR_DECL, too.
232
233 2010-03-03  Jason Merrill  <jason@redhat.com>
234
235         PR c++/12909
236         * mangle.c (mangle_decl): Handle VAR_DECL, too.
237
238 2010-03-03  Jason Merrill  <jason@redhat.com>
239
240         PR c++/12909
241         * mangle.c: Include cgraph.h.
242         (mangle_decl): If the mangled name will change in a later
243         ABI version, make the later mangled name an alias.
244         * method.c (make_alias_for): Copy DECL_ARGUMENTS.
245         * Make-lang.in (mangle.o): Depend on cgraph.h.
246         * method.c (make_alias_for): Handle VAR_DECL, too.
247         * decl2.c (vague_linkage_p): Rename from vague_linkage_fn_p.
248         * tree.c (no_linkage_check): Adjust.
249         * decl.c (maybe_commonize_var): Adjust.
250         * cp-tree.h: Adjust.
251
252 2010-03-01  Marco Poletti  <poletti.marco@gmail.com>
253
254         * pt.c (redeclare_class_template): Use error_n and inform_n.
255
256 2010-02-27  Mark Mitchell  <mark@codesourcery.com>
257
258         PR c++/42748
259         * cp-tree.h (push_tinst_level): Declare.
260         (pop_tinst_level): Likewise.
261         * pt.c (push_tinst_level): Give it external linkage.
262         (pop_tinst_level): Likewise.
263         * mangle.c (mangle_decl_string): Set the source location to that
264         of the decl while mangling.
265
266 2010-02-27  Simon Martin  <simartin@users.sourceforge.net>
267
268         PR c++/42054
269         * pt.c (redeclare_class_template): Return false if there are erroneous
270         template parameters.
271
272 2010-02-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>
273
274         * pt.c (push_tinst_level): Replace -ftemplate-depth- with 
275         -ftemplate-depth=.
276
277 2010-02-24  Jason Merrill  <jason@redhat.com>
278
279         PR c++/12909
280         * mangle.c (write_type): Give -Wabi warning for old vector mangling.
281
282         * class.c (layout_class_type): Don't give -Wabi warning for a bug
283         in a previous ABI version.
284
285 2010-02-23  Jason Merrill  <jason@redhat.com>
286
287         PR c++/43143
288         * typeck2.c (digest_init_r): Accept value init of array.
289
290 2010-02-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>
291
292         PR c++/43126
293         * typeck.c (convert_arguments): Update error message.
294
295 2010-02-22  Mike Stump  <mikestump@comcast.net>
296
297         PR c++/43125
298         * decl.c (duplicate_decls): Merge DECL_PRESERVE_P.
299
300 2010-02-21  Manuel López-Ibáñez  <manu@gcc.gnu.org>
301
302         PR c++/23510
303         * error.c (print_instantiation_partial_context_line): New.
304         (print_instantiation_partial_context): Print at most 12 contexts,
305         skip the rest with a message.
306
307 2010-02-21  Dodji Seketeli  <dodji@redhat.com>
308
309         PR c++/42824
310         * pt.c (lookup_template_class): Better support of specialization
311         of member of class template implicit instantiation.
312
313 2010-02-20  Manuel López-Ibáñez  <manu@gcc.gnu.org>
314
315         PR c++/35669
316         * call.c (conversion_null_warnings): Replace -Wconversion with
317         -Wconversion-null.
318         * cvt.c (build_expr_type_conversion): Likewise.
319
320 2010-02-18  Jason Merrill  <jason@redhat.com>
321
322         PR c++/42837
323         * class.c (create_vtable_ptr): Set DECL_PACKED if type is packed.
324
325         PR c++/43108
326         * typeck.c (cp_build_binary_op): Adapt mixed complex/non handling from
327         C build_binary_op.
328         * cp-tree.h (WANT_VECTOR_OR_COMPLEX): Rename from WANT_VECTOR.
329         * cvt.c (build_expr_type_conversion): Allow COMPLEX_TYPE.
330
331         PR c++/43070
332         * semantics.c (finish_goto_stmt): Don't call decay_conversion.
333
334         PR c++/26261
335         PR c++/43101
336         * pt.c (tsubst_qualified_id): Do normal lookup in non-dependent scope.
337         (maybe_update_decl_type): New fn.
338         * parser.c (cp_parser_init_declarator): Use it.
339
340         PR c++/43109
341         * semantics.c (begin_class_definition): Don't crash on unnamed ns.
342
343 2010-02-17  Jason Merrill  <jason@redhat.com>
344
345         PR c++/43075
346         * call.c (build_over_call): Don't create zero-sized assignments.
347         * cp-gimplify.c (cp_genericize_r): Don't remove them here.
348         * cp-objcp-common.c (cp_expr_size): Remove.
349         * cp-tree.h: Remove prototype.
350
351         PR c++/43069
352         * name-lookup.c (set_decl_namespace): Don't copy DECL_CONTEXT if the
353         decl we looked up doesn't match.
354
355         PR c++/43093
356         * cp-gimplify.c (cp_gimplify_expr) [INIT_EXPR]: Return if we don't
357         have an INIT_EXPR anymore.
358
359         PR c++/43079
360         * pt.c (convert_nontype_argument): Change assert to test.
361
362 2010-02-16  Jason Merrill  <jason@redhat.com>
363
364         * cp-gimplify.c (cp_gimplify_expr): Fix error recovery.
365
366         PR c++/43031
367         * cp-gimplify.c (cp_gimplify_expr) [MODIFY_EXPR]: Use
368         VIEW_CONVERT_EXPR for conversions between structural equality types
369         that the back end can't tell are the same.
370
371         PR c++/43036
372         * tree.c (build_cplus_array_type): Set TYPE_MAIN_VARIANT to strip
373         cv-quals from element here.
374         (cp_build_qualified_type_real): Not here.  Preserve typedef name.
375
376 2010-02-14  Jason Merrill  <jason@redhat.com>
377
378         PR c++/41997
379         * semantics.c (finish_compound_literal): Use
380         cp_apply_type_quals_to_decl when creating a static variable.
381
382 2010-02-12  Jason Merrill  <jason@redhat.com>
383
384         PR c++/43024
385         * name-lookup.h (current_binding_level): Check for null
386         cp_function_chain.
387
388 2010-02-12  Jason Merrill  <jason@redhat.com>
389
390         PR c++/43054
391         * tree.c (cp_tree_equal): Correct CALL_EXPR logic.
392
393 2010-02-12  Jakub Jelinek  <jakub@redhat.com>
394
395         PR c++/43033
396         * name-lookup.c (pushdecl_maybe_friend): Check default args of t
397         instead of x.
398
399 2010-02-10  Jason Merrill  <jason@redhat.com>
400
401         PR c++/41896
402         * semantics.c (outer_lambda_capture_p): Revert.
403         (add_capture): Only finish_member_declaration if
404         we're in the lambda class.
405         (register_capture_members): New.
406         * cp-tree.h: Declare it.
407         * parser.c (cp_parser_lambda_expression): Call it.
408
409 2010-02-10  Jason Merrill  <jason@redhat.com>
410
411         PR c++/41896
412         * semantics.c (outer_lambda_capture_p): Use current_function_decl
413         instead of current_class_type.
414
415 2010-02-10  Jason Merrill  <jason@redhat.com>
416
417         PR c++/42983, core issue 906
418         * method.c (defaultable_fn_check): Check virtualness.
419
420 2010-02-10  Jason Merrill  <jason@redhat.com>
421
422         PR c++/43016
423         * semantics.c (maybe_add_lambda_conv_op): Set DECL_INTERFACE_KNOWN.
424
425 2010-02-10  Shujing Zhao  <pearly.zhao@oracle.com>
426
427         * Make-lang.in (cp/cvt.o, cp/parser.o, cp/search.o): Depend on intl.h.
428         * cvt.c (warn_ref_binding): Wrap the messages into G_() for easy
429         translation.
430         * parser.c (cp_parser_postfix_expression, cp_parser_new_type_id)
431         (cp_parser_cast_expression, cp_parser_condition, cp_parser_decltype)
432         (cp_parser_parameter_declaration)
433         (cp_parser_exception_specification_opt)
434         (cp_parser_exception_declaration): Likewise.
435         * pt.c (check_default_tmpl_args): Likewise.
436         * search.c (lookup_field_r): Likewise.
437
438 2010-02-09  Jason Merrill  <jason@redhat.com>
439
440         PR c++/42399
441         * pt.c (tsubst_copy_and_build): Propagate LAMBDA_EXPR_LOCATION.
442
443 2010-02-09  Jason Merrill  <jason@redhat.com>
444
445         PR c++/42370
446         * decl2.c (change_return_type): New fn.
447         * semantics.c (apply_lambda_return_type): Use it.
448         * cp-tree.h: Declare it.
449
450 2010-02-05  Richard Guenther  <rguenther@suse.de>
451
452         * Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
453         * cp-lang.c: Include gt-cp-cp-lang.h.
454         * config-lang.in (gtfiles): Add cp/cp-lang.c.
455
456 2010-02-05  Dodji Seketeli  <dodji@redhat.com>
457
458         PR c++/42915
459         * typeck.c (get_template_parms_of_dependent_type): Try getting
460         the template parameters fromt the type itself first.
461
462 2010-02-03  Jason Merrill  <jason@redhat.com>
463
464         PR c++/4926
465         PR c++/38600
466         * mangle.c (write_unqualified_id): Split out from write_expression.
467         (write_unqualified_name): Call it.
468         (write_member_name): Likewise.
469         (write_expression): Support TEMPLATE_ID_EXPR.
470         Disambiguate operator names.
471
472         PR c++/12909
473         * mangle.c (write_type) [VECTOR_TYPE]: Change mangling with
474         -fabi-version=4.
475
476 2010-02-02  Jason Merrill  <jason@redhat.com>
477
478         PR c++/41090
479         * decl.c (cp_finish_decl): Add local statics to cfun->local_decls.
480         * optimize.c (clone_body): Remap their initializers when making base
481         variants.
482         (maybe_clone_body): Complain if multiple clones aren't safe.
483
484 2010-01-29  Dodji Seketeli  <dodji@redhat.com>
485
486         PR c++/42758
487         PR c++/42634
488         PR c++/42336
489         PR c++/42797
490         PR c++/42880
491         * cp-tree.h (NON_DEFAULT_TEMPLATE_ARGS_COUNT,
492         SET_NON_DEFAULT_TEMPLATE_ARGS_COUNT,
493         GET_NON_DEFAULT_TEMPLATE_ARGS_COUNT): New accessor macros.
494         * pt.c (coerce_template_parms, type_unification_real,
495         expand_template_argument_pack, coerce_template_parameter_pack):
496         Set the non default template args count.
497         (current_template_args): Always set non defaulted
498         template args count when compiled with --enable-checking
499         (tsubst_template_args, type_unification_real): Propagate the non
500         defaulted template args count.
501         * error.c (get_non_default_template_args_count): Renamed
502         count_non_default_template_args into this. Don't calculate the
503         non default template argument count anymore. Use the new
504         accessor macros above to get it.
505         (dump_template_argument_list, dump_type, dump_decl,
506         dump_template_parms): Adjust.
507         * parser.c (cp_parser_template_argument_list): Always set defaulted
508         template args count when compiled with --enable-checking.
509
510 2010-01-29  Shujing Zhao  <pearly.zhao@oracle.com>
511
512         * decl.c (redeclaration_error_message): Wrap the return messages into
513         G_() for easy translation.
514
515 2010-01-28  Jason Merrill  <jason@redhat.com>
516
517         PR c++/42880
518         * semantics.c (begin_class_definition): Don't use type_as_string.
519
520 2010-01-28  Dodji Seketeli  <dodji@redhat.com>
521
522         PR c++/42713
523         PR c++/42820
524         * typeck.c (get_template_parms_of_dependent_type): Factorized
525         this out of incompatible_template_type_parms_p
526         (incompatible_dependent_types_p): Renamed
527         incompatible_template_type_parms_p into this. Make it detect
528         two incompatible dependent typedefs too.
529         (structural_comptypes): Use incompatible_dependent_types_p.
530         * pt.c (get_template_info):
531         Handle BOUND_TEMPLATE_TEMPLATE_PARAM.
532
533 2010-01-20  Janis Johnson  <janis187@us.ibm.com>
534             Jason Merrill  <jason@redhat.com>
535
536         * mangle.c (write_type): Mangle transparent record as member type.
537         * semantics.c (begin_class_definition): Recognize decimal classes
538         and set TYPE_TRANSPARENT_AGGR.
539
540 2010-01-20  Jason Merrill  <jason@redhat.com>
541
542         PR c++/42338
543         * mangle.c (write_expression): Handle tree codes that have extra
544         arguments in the middle-end.
545
546 2010-01-20  Paolo Carlini  <paolo.carlini@oracle.com>
547
548         PR c++/42038
549         * except.c (expand_start_catch_block): Deal correctly with
550         do_begin_catch returning error_mark_node.
551
552 2010-01-20  Jason Merrill  <jason@redhat.com>
553
554         PR c++/41788
555         * class.c (layout_class_type): Set packed_maybe_necessary for packed
556         non-PODs.
557
558         PR c++/41920
559         * semantics.c (build_lambda_object): Call mark_used on captured
560         variables.
561
562         PR c++/40750
563         * decl.c (grokdeclarator): Clear type_quals for a member function
564         declared using a typedef.  Don't complain about adding cv-quals
565         to a function typedef in C++0x mode.
566
567 2010-01-20  Jakub Jelinek  <jakub@redhat.com>
568
569         * decl.c (create_array_type_for_decl): Remove set but not used
570         variable error_msg.  Remove break stmts after return stmts.
571
572 2010-01-19  Dodji Seketeli  <dodji@redhat.com>
573
574         * error.c (dump_template_parms, count_non_default_template_args):
575         Revert fix of PR c++/42634.
576
577 2010-01-18  Dodji Seketeli  <dodji@redhat.com>
578
579         PR c++/42634
580         * error.c (dump_template_parms): Use innermost template
581         arguments before calling count_non_default_template_args.
582         (count_non_default_template_args): We are being called with
583         template innermost arguments now. There is no need to ensure
584         that again.
585
586 2010-01-18  Dodji Seketeli  <dodji@redhat.com>
587
588         PR c++/42766
589         * cvt.c (build_expr_type_conversion): Look through OVERLOAD.
590
591 2010-01-17  Dodji Seketeli  <dodji@redhat.com>
592
593         PR c++/42697
594         *pt.c (tsubst_decl):  Revert commit for PR c++/42697.
595
596 2010-01-17  Dodji Seketeli  <dodji@redhat.com>
597
598         PR c++/42697
599         *pt.c (tsubst_decl): Get the arguments of a specialization from
600         the specialization template, not from the most general template.
601
602 2010-01-16  Jason Merrill  <jason@redhat.com>
603
604         PR c++/42761
605         * semantics.c (finish_decltype_type): Within a template, treat
606         unresolved CALL_EXPR as dependent.
607
608 2010-01-15  Dodji Seketeli  <dodji@redhat.com>
609
610         * error.c (dump_template_parms,count_non_default_template_args):
611         Revert changes of PR c++/42634.
612
613 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
614
615         PR middle-end/42674
616         * decl.c (finish_function): Don't emit -Wreturn-type warnings in
617         functions with noreturn attribute.
618
619 2010-01-14  Jason Merrill  <jason@redhat.com>
620
621         PR c++/42701
622         * call.c (build_new_method_call): Don't free the vec here.
623
624         PR c++/42655
625         * call.c (convert_like_real): Do full decay_conversion for ck_rvalue.
626
627 2010-01-13  Dodji Seketeli  <dodji@redhat.com>
628
629         PR c++/42634
630         * error.c (dump_template_parms): Use innermost template
631         arguments before calling count_non_default_template_args.
632         (count_non_default_template_args): We are being called with
633         template innermost arguments now. There is no need to ensure
634         that again.
635
636 2010-01-07  Dodji Seketeli  <dodji@redhat.com>
637
638         c++/40155
639         * pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
640         arguments that were previously deduced.
641
642 2010-01-05  Jason Merrill  <jason@redhat.com>
643
644         * pt.c (unify_pack_expansion): Handle deduction from init-list.
645         * call.c (build_over_call): Don't complain about it.
646
647 2010-01-04  Jason Merrill  <jason@redhat.com>
648
649         PR c++/42555
650         * pt.c (tsubst_decl): Don't apply type attributes in place.
651
652         PR c++/42567
653         * semantics.c (describable_type): Remove decltype comment and
654         semantics.
655
656
657 \f
658 Copyright (C) 2010 Free Software Foundation, Inc.
659
660 Copying and distribution of this file, with or without modification,
661 are permitted in any medium without royalty provided the copyright
662 notice and this notice are preserved.