1 2015-01-14 Paolo Carlini <paolo.carlini@oracle.com>
4 * decl2.c (var_defined_without_dynamic_init): Handle gracefully
7 2015-01-13 Jason Merrill <jason@redhat.com>
11 * constexpr.c (cxx_eval_binary_expression): Don't VERIFY_CONSTANT
13 (cxx_eval_increment_expression): Likewise.
16 * pt.c (coerce_template_parameter_pack): Return NULL for a
17 zero-length fixed parameter pack with a pack expansion arg.
20 * pt.c (unify): Don't try to deduce to std::initializer_list<T...>.
22 2015-01-12 Jason Merrill <jason@redhat.com>
25 * constexpr.c (cxx_eval_call_expression): A call to a void
26 function doesn't need to return a value.
28 2015-01-09 Michael Collison <michael.collison@linaro.org>
30 * call.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
31 input.h, alias.h, symtab.h, options.h, fold-const.h,
32 wide-int.h, and inchash.h due to flattening of tree.h.
35 * cp-array-notation.c: Ditto.
36 * cp-gimplify.c: Ditto.
38 * cp-objcp-common.c: Ditto.
51 * name-lookup.c: Ditto.
64 2015-01-08 Jason Merrill <jason@redhat.com>
66 * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
67 * decl.c (compute_array_index_type): Likewise.
68 * init.c (build_vec_init): Likewise.
69 * typeck.c (cp_build_binary_op): Likewise.
71 2015-01-08 Jason Merrill <jason@redhat.com>
73 * init.c (build_vec_init): Call ubsan_instrument_bounds to check
74 whether an initializer-list is too big for a VLA.
75 (throw_bad_array_length): Remove.
76 * cp-tree.h: Remove prototype.
78 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
81 * decl.c (grokfndecl): Add bool parameter.
82 (grokdeclarator): Adjust calls.
83 (start_decl): Don't set DECL_DELETED_FN here.
85 2015-01-06 Jason Merrill <jason@redhat.com>
87 * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
91 * pt.c (type_dependent_expression_p): Handle variable templates.
92 * constexpr.c (potential_constant_expression_1): Use it.
95 * semantics.c (finish_offsetof): Handle templates here.
96 * parser.c (cp_parser_builtin_offsetof): Not here.
99 * semantics.c (process_outer_var_ref): Diagnose lambda in local
102 2015-01-06 Ville Voutilainen <ville.voutilainen@gmail.com>
105 * class.c (check_field_decls): Make copy assignment operators
106 complex only in c++98 mode.
108 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
111 * class.c (check_for_override): Warn when a virtual function is an
112 override not marked override.
114 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
116 * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
118 (get_basefndecls): Adjust.
120 2015-01-05 Jakub Jelinek <jakub@redhat.com>
122 Update copyright years.
124 2015-01-05 Marek Polacek <polacek@redhat.com>
127 * typeck.c (cp_build_array_ref): Pass loc down to
128 warn_array_subscript_with_type_char.
131 Copyright (C) 2015 Free Software Foundation, Inc.
133 Copying and distribution of this file, with or without modification,
134 are permitted in any medium without royalty provided the copyright
135 notice and this notice are preserved.