]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/ChangeLog
re PR c++/64520 (ICE with std::initializer_list)
[gcc.git] / gcc / cp / ChangeLog
CommitLineData
8f413ae2
JM
12015-01-13 Jason Merrill <jason@redhat.com>
2
3 PR c++/64520
4 * pt.c (unify): Don't try to deduce to std::initializer_list<T...>.
5
49c8bc0c
JM
62015-01-12 Jason Merrill <jason@redhat.com>
7
8 PR c++/64547
9 * constexpr.c (cxx_eval_call_expression): A call to a void
10 function doesn't need to return a value.
11
adfac8df
JJ
122015-01-09 Michael Collison <michael.collison@linaro.org>
13
14 * call.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
15 input.h, alias.h, symtab.h, options.h, fold-const.h,
16 wide-int.h, and inchash.h due to flattening of tree.h.
17 * class.c: Ditto.
18 * constexpr.c: Ditto.
19 * cp-array-notation.c: Ditto.
20 * cp-gimplify.c: Ditto.
21 * cp-lang.c: Ditto.
22 * cp-objcp-common.c: Ditto.
23 * cvt.c: Ditto.
24 * decl2.c: Ditto.
25 * decl.c: Ditto.
26 * dump.c: Ditto.
27 * error.c: Ditto.
28 * except.c: Ditto.
29 * expr.c: Ditto.
30 * friend.c: Ditto.
31 * init.c: Ditto.
32 * lambda.c: Ditto.
33 * lex.c: Ditto.
34 * mangle.c: Ditto.
35 * name-lookup.c: Ditto.
36 * optimize.c: Ditto.
37 * parser.c: Ditto.
38 * pt.c: Ditto.
39 * ptree.c: Ditto.
40 * repo.c: Ditto.
41 * rtti.c: Ditto.
42 * search.c: Ditto.
43 * semantics.c: Ditto.
44 * tree.c: Ditto.
45 * typeck2.c: Ditto.
46 * typeck.c: Ditto.
47
f5481fc4
JM
482015-01-08 Jason Merrill <jason@redhat.com>
49
50 * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
51 * decl.c (compute_array_index_type): Likewise.
52 * init.c (build_vec_init): Likewise.
53 * typeck.c (cp_build_binary_op): Likewise.
54
46621807
JM
552015-01-08 Jason Merrill <jason@redhat.com>
56
57 * init.c (build_vec_init): Call ubsan_instrument_bounds to check
58 whether an initializer-list is too big for a VLA.
59 (throw_bad_array_length): Remove.
60 * cp-tree.h: Remove prototype.
61
247ecdf3
PC
622015-01-08 Paolo Carlini <paolo.carlini@oracle.com>
63
64 PR c++/60753
65 * decl.c (grokfndecl): Add bool parameter.
66 (grokdeclarator): Adjust calls.
67 (start_decl): Don't set DECL_DELETED_FN here.
68
47867b4f
JM
692015-01-06 Jason Merrill <jason@redhat.com>
70
efcdb22f
JM
71 * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
72 template-ids.
73
c6a38536
JM
74 PR c++/64455
75 * pt.c (type_dependent_expression_p): Handle variable templates.
76 * constexpr.c (potential_constant_expression_1): Use it.
77
b433d944
JM
78 PR c++/64487
79 * semantics.c (finish_offsetof): Handle templates here.
80 * parser.c (cp_parser_builtin_offsetof): Not here.
81
47867b4f
JM
82 PR c++/64496
83 * semantics.c (process_outer_var_ref): Diagnose lambda in local
84 class NSDMI.
85
864822bd
VV
862015-01-06 Ville Voutilainen <ville.voutilainen@gmail.com>
87
88 PR c++/64489
89 * class.c (check_field_decls): Make copy assignment operators
90 complex only in c++98 mode.
91
2f42e5de
TS
922015-01-05 Trevor Saunders <tsaunders@mozilla.com>
93
94 PR c++/31397
95 * class.c (check_for_override): Warn when a virtual function is an
96 override not marked override.
97
86cfdb4e
TS
982015-01-05 Trevor Saunders <tsaunders@mozilla.com>
99
100 * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
101 hold base_fndecls.
102 (get_basefndecls): Adjust.
103
5624e564
JJ
1042015-01-05 Jakub Jelinek <jakub@redhat.com>
105
106 Update copyright years.
107
5bd012f8
MP
1082015-01-05 Marek Polacek <polacek@redhat.com>
109
110 PR c/64423
111 * typeck.c (cp_build_array_ref): Pass loc down to
112 warn_array_subscript_with_type_char.
113
ad41bd84 114\f
5624e564 115Copyright (C) 2015 Free Software Foundation, Inc.
ad41bd84
JM
116
117Copying and distribution of this file, with or without modification,
118are permitted in any medium without royalty provided the copyright
119notice and this notice are preserved.
This page took 1.720476 seconds and 5 git commands to generate.