]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/cp/ChangeLog
ubsan.c (do_ubsan_in_current_function): New.
[thirdparty/gcc.git] / gcc / cp / ChangeLog
1 2015-01-08 Jason Merrill <jason@redhat.com>
2
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.
7
8 2015-01-08 Jason Merrill <jason@redhat.com>
9
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.
14
15 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
16
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.
21
22 2015-01-06 Jason Merrill <jason@redhat.com>
23
24 * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
25 template-ids.
26
27 PR c++/64455
28 * pt.c (type_dependent_expression_p): Handle variable templates.
29 * constexpr.c (potential_constant_expression_1): Use it.
30
31 PR c++/64487
32 * semantics.c (finish_offsetof): Handle templates here.
33 * parser.c (cp_parser_builtin_offsetof): Not here.
34
35 PR c++/64496
36 * semantics.c (process_outer_var_ref): Diagnose lambda in local
37 class NSDMI.
38
39 2015-01-06 Ville Voutilainen <ville.voutilainen@gmail.com>
40
41 PR c++/64489
42 * class.c (check_field_decls): Make copy assignment operators
43 complex only in c++98 mode.
44
45 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
46
47 PR c++/31397
48 * class.c (check_for_override): Warn when a virtual function is an
49 override not marked override.
50
51 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
52
53 * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
54 hold base_fndecls.
55 (get_basefndecls): Adjust.
56
57 2015-01-05 Jakub Jelinek <jakub@redhat.com>
58
59 Update copyright years.
60
61 2015-01-05 Marek Polacek <polacek@redhat.com>
62
63 PR c/64423
64 * typeck.c (cp_build_array_ref): Pass loc down to
65 warn_array_subscript_with_type_char.
66
67 \f
68 Copyright (C) 2015 Free Software Foundation, Inc.
69
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.