gcc/
[official-gcc.git] / gcc / cp / ChangeLog
blob8afaafa6b840b3b674d3d2e7528c18229fdaff76
1 2015-01-08  Jason Merrill  <jason@redhat.com>
3         * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
4         * decl.c (compute_array_index_type): Likewise.
5         * init.c (build_vec_init): Likewise.
6         * typeck.c (cp_build_binary_op): Likewise.
8 2015-01-08  Jason Merrill  <jason@redhat.com>
10         * init.c (build_vec_init): Call ubsan_instrument_bounds to check
11         whether an initializer-list is too big for a VLA.
12         (throw_bad_array_length): Remove.
13         * cp-tree.h: Remove prototype.
15 2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
17         PR c++/60753
18         * decl.c (grokfndecl): Add bool parameter.
19         (grokdeclarator): Adjust calls.
20         (start_decl): Don't set DECL_DELETED_FN here.
22 2015-01-06  Jason Merrill  <jason@redhat.com>
24         * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
25         template-ids.
27         PR c++/64455
28         * pt.c (type_dependent_expression_p): Handle variable templates.
29         * constexpr.c (potential_constant_expression_1): Use it.
31         PR c++/64487
32         * semantics.c (finish_offsetof): Handle templates here.
33         * parser.c (cp_parser_builtin_offsetof): Not here.
35         PR c++/64496
36         * semantics.c (process_outer_var_ref): Diagnose lambda in local
37         class NSDMI.
39 2015-01-06  Ville Voutilainen  <ville.voutilainen@gmail.com>
41         PR c++/64489
42         * class.c (check_field_decls): Make copy assignment operators
43         complex only in c++98 mode.
45 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
47         PR c++/31397
48         * class.c (check_for_override): Warn when a virtual function is an
49         override not marked override.
51 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
53         * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
54         hold base_fndecls.
55         (get_basefndecls): Adjust.
57 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
59         Update copyright years.
61 2015-01-05  Marek Polacek  <polacek@redhat.com>
63         PR c/64423
64         * typeck.c (cp_build_array_ref): Pass loc down to
65         warn_array_subscript_with_type_char.
68 Copyright (C) 2015 Free Software Foundation, Inc.
70 Copying and distribution of this file, with or without modification,
71 are permitted in any medium without royalty provided the copyright
72 notice and this notice are preserved.