OSDN Git Service

2012-01-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
1 2012-01-06  Jason Merrill  <jason@redhat.com>
2
3         DR 686
4         PR c++/47450
5         * parser.c (cp_parser_new_expression): Set
6         type_definition_forbidden_message.
7
8         PR c++/6057
9         PR c++/48051
10         PR c++/50855
11         PR c++/51322
12         * mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR,
13         THROW_EXPR, CONSTRUCTOR, OVERLOAD.  Fix PREINCREMENT_EXPR and
14         PREDECREMENT_EXPR.
15         (write_template_arg): Fix mangling of class-scope functions and
16         argument packs.
17         (mangle_decl): Update suggested -fabi-version argument.
18         * operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR,
19         DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR.
20         * tree.c (dependent_name): No longer static.
21         * cp-tree.h: Declare it.
22         * pt.c (unify): Defer handling of unconverted functions.
23
24         * mangle.c (mangle_decl): Don't generate mangling aliases
25         for maybe-in-charge [cd]tors.
26
27         * error.c (dump_expr): Print type of CONSTRUCTOR.
28
29 2012-01-05  Dodji Seketeli  <dodji@redhat.com>
30
31         PR c++/51541
32         * parser.c (cp_parser_alias_declaration): Get out early upon
33         errors in the identifier or the attributes.
34
35 2012-01-04  Paolo Carlini  <paolo.carlini@oracle.com>
36
37         PR c++/51064
38         * pt.c (tsubst_copy_and_build): Maybe set TREE_NO_WARNING on
39         the tree returned by build_x_binary_op.
40
41 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
42
43         PR c++/51738
44         * parser.c (cp_parser_postfix_open_square_expression): Handle
45         postfix-expression [ braced-init-list ].
46
47 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
48
49         PR c++/29273
50         * rtti.c (build_dynamic_cast_1): In case of T a pointer type,
51         call decay_conversion on v.
52
53 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
54
55         PR c++/15867
56         * decl.c (duplicate_decls): With -Wredundant-decls don't warn for
57         declaration followed by specialization.
58
59 2012-01-03  Jakub Jelinek  <jakub@redhat.com>
60
61         PR c++/51669
62         * semantics.c (finish_omp_clauses): Call fold_build_cleanup_point_expr
63         on OMP_CLAUSE_{IF,FINAL,NUM_THREADS,SCHEDULE_CHUNK}_EXPR.
64
65 2012-01-02  Jason Merrill  <jason@redhat.com>
66
67         DR 1359
68         PR c++/51675
69         * method.c (walk_field_subobs): Don't check for uninitialized
70         fields in a union.
71         (synthesized_method_walk): Check here.
72
73         DR 325
74         PR c++/51666
75         * parser.c (cp_parser_cache_defarg): Split out...
76         (cp_parser_parameter_declaration): ...from here.
77         (cp_parser_save_nsdmi): Use it.
78         (cp_parser_cache_group): Remove CPP_COMMA support.
79
80 2012-01-02  Dodji Seketeli  <dodji@redhat.com>
81
82         PR c++/51462
83         * semantics.c (cx_check_missing_mem_inits): Don't assert in case
84         of error.
85
86 2012-01-02  Paolo Carlini  <paolo.carlini@oracle.com>
87
88         PR c++/20140
89         * typeck2.c (digest_init_r): Use copy_init when initializing
90         an array of chars.
91
92 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
93
94         PR c++/16603
95         * decl.c (build_enumerator): Don't call perform_integral_promotions
96         on the value.
97
98 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
99
100         PR c++/51379
101         * typeck.c (build_reinterpret_cast_1): Implement resolution of
102         DR 799.
103
104 2012-01-01  Fabien ChĂȘne  <fabien@gcc.gnu.org>
105
106         * parser.c (cp_parser_using_declaration): Add a warning about
107         deprecated access declarations when no errors were encountered
108         while parsing the access declaration. Save the first token in
109         order to emit the warning at the right place.
110 \f
111 Copyright (C) 2012 Free Software Foundation, Inc.
112
113 Copying and distribution of this file, with or without modification,
114 are permitted in any medium without royalty provided the copyright
115 notice and this notice are preserved.