re PR rtl-optimization/64536 (Undefined .L* symbol starting with jump2 on s390x)
[gcc.git] / gcc / cp / ChangeLog
1 2015-01-09 Michael Collison <michael.collison@linaro.org>
2
3 * call.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
4 input.h, alias.h, symtab.h, options.h, fold-const.h,
5 wide-int.h, and inchash.h due to flattening of tree.h.
6 * class.c: Ditto.
7 * constexpr.c: Ditto.
8 * cp-array-notation.c: Ditto.
9 * cp-gimplify.c: Ditto.
10 * cp-lang.c: Ditto.
11 * cp-objcp-common.c: Ditto.
12 * cvt.c: Ditto.
13 * decl2.c: Ditto.
14 * decl.c: Ditto.
15 * dump.c: Ditto.
16 * error.c: Ditto.
17 * except.c: Ditto.
18 * expr.c: Ditto.
19 * friend.c: Ditto.
20 * init.c: Ditto.
21 * lambda.c: Ditto.
22 * lex.c: Ditto.
23 * mangle.c: Ditto.
24 * name-lookup.c: Ditto.
25 * optimize.c: Ditto.
26 * parser.c: Ditto.
27 * pt.c: Ditto.
28 * ptree.c: Ditto.
29 * repo.c: Ditto.
30 * rtti.c: Ditto.
31 * search.c: Ditto.
32 * semantics.c: Ditto.
33 * tree.c: Ditto.
34 * typeck2.c: Ditto.
35 * typeck.c: Ditto.
36
37 2015-01-08 Jason Merrill <jason@redhat.com>
38
39 * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
40 * decl.c (compute_array_index_type): Likewise.
41 * init.c (build_vec_init): Likewise.
42 * typeck.c (cp_build_binary_op): Likewise.
43
44 2015-01-08 Jason Merrill <jason@redhat.com>
45
46 * init.c (build_vec_init): Call ubsan_instrument_bounds to check
47 whether an initializer-list is too big for a VLA.
48 (throw_bad_array_length): Remove.
49 * cp-tree.h: Remove prototype.
50
51 2015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
52
53 PR c++/60753
54 * decl.c (grokfndecl): Add bool parameter.
55 (grokdeclarator): Adjust calls.
56 (start_decl): Don't set DECL_DELETED_FN here.
57
58 2015-01-06 Jason Merrill <jason@redhat.com>
59
60 * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
61 template-ids.
62
63 PR c++/64455
64 * pt.c (type_dependent_expression_p): Handle variable templates.
65 * constexpr.c (potential_constant_expression_1): Use it.
66
67 PR c++/64487
68 * semantics.c (finish_offsetof): Handle templates here.
69 * parser.c (cp_parser_builtin_offsetof): Not here.
70
71 PR c++/64496
72 * semantics.c (process_outer_var_ref): Diagnose lambda in local
73 class NSDMI.
74
75 2015-01-06 Ville Voutilainen <ville.voutilainen@gmail.com>
76
77 PR c++/64489
78 * class.c (check_field_decls): Make copy assignment operators
79 complex only in c++98 mode.
80
81 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
82
83 PR c++/31397
84 * class.c (check_for_override): Warn when a virtual function is an
85 override not marked override.
86
87 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
88
89 * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
90 hold base_fndecls.
91 (get_basefndecls): Adjust.
92
93 2015-01-05 Jakub Jelinek <jakub@redhat.com>
94
95 Update copyright years.
96
97 2015-01-05 Marek Polacek <polacek@redhat.com>
98
99 PR c/64423
100 * typeck.c (cp_build_array_ref): Pass loc down to
101 warn_array_subscript_with_type_char.
102
103 \f
104 Copyright (C) 2015 Free Software Foundation, Inc.
105
106 Copying and distribution of this file, with or without modification,
107 are permitted in any medium without royalty provided the copyright
108 notice and this notice are preserved.