1 2012-01-12 Jason Merrill <jason@redhat.com>
4 * pt.c (value_dependent_expression_p): Treat STMT_EXPR as
7 2012-01-13 Dodji Seketeli <dodji@redhat.com>
10 * semantics.c (cp_parser_ctor_initializer_opt_and_function_body):
11 Set the pointer to the last block of the constructor to the
13 (build_constexpr_constructor_member_initializers): Get
14 build_data_member_initialization a chance to deal with more
15 statements before we choke.
17 2012-01-12 Jason Merrill <jason@redhat.com>
20 * mangle.c (write_expression): Mangle BASELINK scope if
22 * search.c (adjust_result_of_qualified_name_lookup): Set
24 * tree.c (cp_tree_equal) [BASELINK]: Compare BASELINK_QUALIFIED_P.
25 * parser.c (cp_parser_postfix_dot_deref_expression): Don't call
26 adjust_result_of_qualified_name_lookup for non-qualified names.
29 * pt.c (unify): Handle error_mark_node.
31 2012-01-11 Jason Merrill <jason@redhat.com>
34 * call.c (standard_conversion): For ptrmemfuncs, compare the
38 * mangle.c (find_substitution): A type is only a substitution
39 match if we're looking for a type.
40 (write_nested_name): Use decl_mangling_context.
42 * decl.c (decls_match): Assert that the arguments are decls.
45 * pt.c (resolve_overloaded_unification): Compare types with
46 same_type_p, not decls_match.
48 2012-01-10 Jason Merrill <jason@redhat.com>
51 * class.c (build_base_path): Diagnose ambiguous base.
54 * semantics.c (cxx_eval_call_expression): Always retry previously
55 non-constant expressions.
57 2012-01-06 Jason Merrill <jason@redhat.com>
61 * parser.c (cp_parser_new_expression): Set
62 type_definition_forbidden_message.
68 * mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR,
69 THROW_EXPR, CONSTRUCTOR, OVERLOAD. Fix PREINCREMENT_EXPR and
71 (write_template_arg): Fix mangling of class-scope functions and
73 (mangle_decl): Update suggested -fabi-version argument.
74 * operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR,
75 DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR.
76 * tree.c (dependent_name): No longer static.
77 * cp-tree.h: Declare it.
78 * pt.c (unify): Defer handling of unconverted functions.
80 * mangle.c (mangle_decl): Don't generate mangling aliases
81 for maybe-in-charge [cd]tors.
83 * error.c (dump_expr): Print type of CONSTRUCTOR.
85 2012-01-05 Dodji Seketeli <dodji@redhat.com>
88 * parser.c (cp_parser_alias_declaration): Get out early upon
89 errors in the identifier or the attributes.
91 2012-01-04 Paolo Carlini <paolo.carlini@oracle.com>
94 * pt.c (tsubst_copy_and_build): Maybe set TREE_NO_WARNING on
95 the tree returned by build_x_binary_op.
97 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com>
100 * parser.c (cp_parser_postfix_open_square_expression): Handle
101 postfix-expression [ braced-init-list ].
103 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com>
106 * rtti.c (build_dynamic_cast_1): In case of T a pointer type,
107 call decay_conversion on v.
109 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com>
112 * decl.c (duplicate_decls): With -Wredundant-decls don't warn for
113 declaration followed by specialization.
115 2012-01-03 Jakub Jelinek <jakub@redhat.com>
118 * semantics.c (finish_omp_clauses): Call fold_build_cleanup_point_expr
119 on OMP_CLAUSE_{IF,FINAL,NUM_THREADS,SCHEDULE_CHUNK}_EXPR.
121 2012-01-02 Jason Merrill <jason@redhat.com>
125 * method.c (walk_field_subobs): Don't check for uninitialized
127 (synthesized_method_walk): Check here.
131 * parser.c (cp_parser_cache_defarg): Split out...
132 (cp_parser_parameter_declaration): ...from here.
133 (cp_parser_save_nsdmi): Use it.
134 (cp_parser_cache_group): Remove CPP_COMMA support.
136 2012-01-02 Dodji Seketeli <dodji@redhat.com>
139 * semantics.c (cx_check_missing_mem_inits): Don't assert in case
142 2012-01-02 Paolo Carlini <paolo.carlini@oracle.com>
145 * typeck2.c (digest_init_r): Use copy_init when initializing
148 2012-01-01 Paolo Carlini <paolo.carlini@oracle.com>
151 * decl.c (build_enumerator): Don't call perform_integral_promotions
154 2012-01-01 Paolo Carlini <paolo.carlini@oracle.com>
157 * typeck.c (build_reinterpret_cast_1): Implement resolution of
160 2012-01-01 Fabien ChĂȘne <fabien@gcc.gnu.org>
162 * parser.c (cp_parser_using_declaration): Add a warning about
163 deprecated access declarations when no errors were encountered
164 while parsing the access declaration. Save the first token in
165 order to emit the warning at the right place.
167 Copyright (C) 2012 Free Software Foundation, Inc.
169 Copying and distribution of this file, with or without modification,
170 are permitted in any medium without royalty provided the copyright
171 notice and this notice are preserved.