1 2015-01-12 Jason Merrill <jason@redhat.com>
4 * constexpr.c (cxx_eval_call_expression): A call to a void
5 function doesn't need to return a value.
7 2015-01-09 Michael Collison <michael.collison@linaro.org>
9 * call.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
10 input.h, alias.h, symtab.h, options.h, fold-const.h,
11 wide-int.h, and inchash.h due to flattening of tree.h.
14 * cp-array-notation.c: Ditto.
15 * cp-gimplify.c: Ditto.
17 * cp-objcp-common.c: Ditto.
30 * name-lookup.c: Ditto.
43 2015-01-08 Jason Merrill <jason@redhat.com>
45 * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
46 * decl.c (compute_array_index_type): Likewise.
47 * init.c (build_vec_init): Likewise.
48 * typeck.c (cp_build_binary_op): Likewise.
50 2015-01-08 Jason Merrill <jason@redhat.com>
52 * init.c (build_vec_init): Call ubsan_instrument_bounds to check
53 whether an initializer-list is too big for a VLA.
54 (throw_bad_array_length): Remove.
55 * cp-tree.h: Remove prototype.
57 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
60 * decl.c (grokfndecl): Add bool parameter.
61 (grokdeclarator): Adjust calls.
62 (start_decl): Don't set DECL_DELETED_FN here.
64 2015-01-06 Jason Merrill <jason@redhat.com>
66 * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
70 * pt.c (type_dependent_expression_p): Handle variable templates.
71 * constexpr.c (potential_constant_expression_1): Use it.
74 * semantics.c (finish_offsetof): Handle templates here.
75 * parser.c (cp_parser_builtin_offsetof): Not here.
78 * semantics.c (process_outer_var_ref): Diagnose lambda in local
81 2015-01-06 Ville Voutilainen <ville.voutilainen@gmail.com>
84 * class.c (check_field_decls): Make copy assignment operators
85 complex only in c++98 mode.
87 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
90 * class.c (check_for_override): Warn when a virtual function is an
91 override not marked override.
93 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
95 * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
97 (get_basefndecls): Adjust.
99 2015-01-05 Jakub Jelinek <jakub@redhat.com>
101 Update copyright years.
103 2015-01-05 Marek Polacek <polacek@redhat.com>
106 * typeck.c (cp_build_array_ref): Pass loc down to
107 warn_array_subscript_with_type_char.
110 Copyright (C) 2015 Free Software Foundation, Inc.
112 Copying and distribution of this file, with or without modification,
113 are permitted in any medium without royalty provided the copyright
114 notice and this notice are preserved.