re PR c++/65509 ([C++11] GCC rejects operator== with two distinct pointers as not...
[platform/upstream/gcc.git] / gcc / cp / ChangeLog
1 2015-03-27  Jason Merrill  <jason@redhat.com>
2
3         PR c++/65509
4         * decl.c (make_rtl_for_nonlocal_decl): Don't defer static
5         constants.
6
7 2015-03-26  Mikhail Maltsev  <maltsevm@gmail.com>
8
9         PR c++/65154
10         * init.c (build_vec_init): Fix initializing aggregates
11         with empty init list.
12
13 2015-03-26  Jason Merrill  <jason@redhat.com>
14
15         PR c++/65525
16         * constexpr.c (potential_constant_expression_1): Handle MEM_REF.
17
18 2015-03-25  Marek Polacek  <polacek@redhat.com>
19
20         PR c++/65558
21         * name-lookup.c (handle_namespace_attrs): Ignore abi_tag attribute
22         on an anonymous namespace.
23
24 2015-03-25  Marek Polacek  <polacek@redhat.com>
25
26         PR c++/61670
27         * class.c (remove_zero_width_bit_fields): Check for null DECL_SIZE.
28
29 2015-03-24  Jason Merrill  <jason@redhat.com>
30
31         PR c++/65046
32         * cp-tree.h (NAMESPACE_IS_INLINE): Remove.
33         * parser.c (cp_parser_namespace_definition): Don't set it.
34         * name-lookup.c (handle_namespace_attrs): Check
35         DECL_NAMESPACE_ASSOCIATIONS instead.
36
37         PR c++/65498
38         * pt.c (get_mostly_instantiated_function_type): Just return the
39         type of the partially instantiated template in DECL_TI_TEMPLATE.
40
41 2015-03-20  Marek Polacek  <polacek@redhat.com>
42
43         PR c++/65398
44         * constexpr.c (cxx_fold_indirect_ref): Transform *(&A[i] p+ j) into
45         A[i + j].
46
47 2015-03-20  Marek Polacek  <polacek@redhat.com>
48
49         PR c++/65072
50         * typeck.c (lookup_anon_field): Make sure we're dealing with the main
51         variant.
52
53 2015-03-19  Jason Merrill  <jason@redhat.com>
54
55         PR c++/65046
56         Automatically propagate ABI tags to variables and functions
57         from their (return) type.
58         * class.c (check_tag): Handle variables and functions.
59         (mark_or_check_attr_tags): Split out from find_abi_tags_r.
60         (mark_or_check_tags): Likewise.
61         (mark_abi_tags): Use it.  Rename from mark_type_abi_tags.
62         (check_abi_tags): Add single argument overload for decls.
63         Handle inheriting tags for decls.
64         * mangle.c (write_mangled_name): Call it.
65         (mangle_return_type_p): Split out from write_encoding.
66         (unmangled_name_p): Split out from write_mangled_name.
67         (write_mangled_name): Ignore abi_tag on namespace.
68         * cp-tree.h (NAMESPACE_IS_INLINE): Replace NAMESPACE_ABI_TAG.
69         * parser.c (cp_parser_namespace_definition): Set it.
70         * name-lookup.c (handle_namespace_attrs): Use arguments. Warn
71         about abi_tag attribute on non-inline namespace.
72         * tree.c (check_abi_tag_args): Split out from handle_abi_tag_attribute.
73         (handle_abi_tag_attribute): Allow tags on variables.
74
75 2015-03-19  Jakub Jelinek  <jakub@redhat.com>
76
77         * decl2.c (cplus_decl_attributes): Also add "omp declare target"
78         attribute for DECL_EXTERNAL VAR_DECLs.
79
80 2015-03-18  Paolo Carlini  <paolo.carlini@oracle.com>
81
82         PR c++/65340
83         * call.c (build_over_call): Pass the tsubst_flags_t argument to
84         mark_used.
85         * decl2.c (mark_used): Inline the require_deduced_type call and
86         guard the error call.
87
88 2015-03-16  Jason Merrill  <jason@redhat.com>
89
90         PR c++/65061
91         * parser.c (cp_parser_template_name): Call strip_using_decl.
92
93 2015-03-16  Marek Polacek  <polacek@redhat.com>
94
95         DR 1688
96         PR c++/65327
97         * decl.c (grokdeclarator): Allow volatile and constexpr together.
98
99 2015-03-12  Paolo Carlini  <paolo.carlini@oracle.com>
100
101         PR c++/65323
102         * decl.c (check_default_argument): Don't call
103         maybe_warn_zero_as_null_pointer_constant.
104
105 2015-03-11  Aldy Hernandez  <aldyh@redhat.com>
106
107         * cp-gimplify.c (simple_empty_class_p): New.
108         * cp-gimplify.c (cp_gimplify_expr): Handle RETURN_EXPR.  Abstract
109         the code for empty class copies into simple_empty_class_p, and
110         adapt it to handle COMPOUND_EXPRs.
111
112 2015-03-10  Paolo Carlini  <paolo.carlini@oracle.com>
113
114         PR c++/65370
115         * decl.c (duplicate_decls): Call check_redeclaration_no_default_args
116         only if the location of newdecl doesn't match the location of olddecl.
117
118 2015-03-10  Jakub Jelinek  <jakub@redhat.com>
119
120         PR c++/65127
121         * parser.c (parsing_nsdmi): Don't return true if current_class_ptr
122         is not a PARM_DECL.
123
124 2015-03-10  Jason Merrill  <jason@redhat.com>
125
126         PR c++/65333
127         DR 1558
128         * pt.c (dependent_type_p_r): Check both class and alias template args.
129
130 2015-03-10  Jakub Jelinek  <jakub@redhat.com>
131
132         PR c/65120
133         * parser.c (cp_parser_binary_expression): Check for tcc_comparison
134         before preparing arguments to warn_logical_not_parentheses.
135         Use maybe_constant_value on rhs.
136
137 2015-03-09  Jason Merrill  <jason@redhat.com>
138
139         PR c++/65339
140         * call.c: Don't call maybe_resolve_dummy when calling a constructor.
141
142 2015-03-09  Jakub Jelinek  <jakub@redhat.com>
143
144         PR c/65120
145         * parser.c (cp_parser_binary_expression): Don't warn for
146         !!x == y or !b == y where b is bool.
147
148 2015-03-06  Aldy Hernandez  <aldyh@redhat.com>
149
150         * ptree.c (cxx_print_lambda_node): New.
151         (cxx_print_xnode): Handle LAMBDA_EXPR.
152
153 2015-03-03  Aldy Hernandez  <aldyh@redhat.com>
154
155         PR c++/65295
156         * constexpr.c (cxx_eval_constant_expression): Remove assert in
157         RESULT_DECL handling.
158
159 2015-02-26  Marek Polacek  <polacek@redhat.com>
160
161         PR c++/65202
162         * constexpr.c (cxx_eval_constant_expression): Don't evaluate
163         a RETURN_EXPR if its operand is null.
164
165 2015-02-25  Jason Merrill  <jason@redhat.com>
166
167         PR c++/65209
168         * decl2.c (constrain_visibility) [VISIBILITY_ANON]: Clear
169         DECL_COMDAT.
170         (constrain_visibility_for_template): Handle reference arguments.
171
172         PR debug/58315
173         * decl.c (start_preparsed_function): Use create_artificial_label
174         for cdtor_label.
175
176 2015-02-17  Paolo Carlini  <paolo.carlini@oracle.com>
177             Jakub Jelinek  <jakub@redhat.com>
178
179         PR c++/65075
180         * constexpr.c (check_constexpr_bind_expr_vars): Allow
181         implicit typedefs for lambda types.
182
183 2015-02-13  Paolo Carlini  <paolo.carlini@oracle.com>
184
185         PR c++/60894
186         * decl.c (lookup_and_check_tag): Use strip_using_decl.
187
188 2015-02-13  Jason Merrill  <jason@redhat.com>
189
190         PR c++/65054
191         * pt.c (template_args_equal): Look through conversions here.
192         * tree.c (cp_tree_equal): Not here.
193
194 2015-02-13  Paolo Carlini  <paolo.carlini@oracle.com>
195
196         PR c++/60211
197         * parser.c (cp_parser_pragma): Diagnose PRAGMA_IVDEP at
198         pragma_external context.
199
200 2015-02-13  Jason Merrill  <jason@redhat.com>
201
202         PR c++/65051
203         * call.c (reference_binding): Don't look for bad conversion
204         if TO is incomplete.
205
206 2015-02-13  Paolo Carlini  <paolo.carlini@oracle.com>
207
208         PR c++/64970
209         * decl.c (make_typename_type): Pass tsubst_flags_t argument
210         to lookup_template_class.
211
212 2015-02-13  Jakub Jelinek  <jakub@redhat.com>
213
214         PR ipa/65034
215         * decl.c (start_preparsed_function): Use void_type_node instead
216         of NULL_TREE as LABEL_DECL type.
217
218 2015-02-12  Jason Merrill  <jason@redhat.com>
219
220         PR c++/64898
221         * mangle.c (write_mangled_name): Fix test for variable template
222         instantiation.
223
224         * decl.c (begin_destructor_body): Condition clobber on
225         -flifetime-dse.
226
227 2015-02-12 Andrea Azzarone <azzaronea@gmail.com>
228
229         PR c++/64959
230         * parser.c (lookup_literal_operator): Return all candidates.
231         (cp_parser_userdef_char_literal): Simplify error handling.
232         (cp_parser_userdef_numeric_literal):  Pass tf_warning_or_error.
233         (cp_parser_userdef_string_literal): Pass tf_warning_or_error.
234         Also give higher priority to standard string UDL operator.
235
236 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
237
238         PR debug/55541
239         * cp-tree.h (BLOCK_OUTER_CURLY_BRACE_P): Define.
240         * decl.c (poplevel): If functionbody, try not to create an extra
241         BLOCK for function body and use subblocks as that, if it is non-NULL
242         and doesn't have siblings.  Set BLOCK_OUTER_CURLY_BRACE_P flag.
243         (outer_curly_brace_block): Use BLOCK_OUTER_CURLY_BRACE_P flag.
244
245         PR sanitizer/64984
246         * except.c (check_noexcept_r): Return NULL for internal
247         calls.
248
249 2015-02-10  Jason Merrill  <jason@redhat.com>
250
251         PR c++/64994
252         * constexpr.c (cxx_eval_call_expression): Walk the clone list.
253
254 2015-02-10  Jan Hubicka  <hubicka@ucw.cz>
255
256         PR ipa/64982
257         * method.c (use_thunk): Do not check for stdarg thunks.
258
259 2015-02-06  Jason Merrill  <jason@redhat.com>
260
261         PR c++/64899
262         * init.c (build_vec_init): Handle default-initialized array with
263         constexpr default constructor.
264
265 2015-02-04  Jakub Jelinek  <jakub@redhat.com>
266
267         PR c/64824
268         PR c/64868
269         * parser.c (cp_parser_omp_atomic): Handle RDIV_EXPR.
270
271 2015-02-03  Paolo Carlini  <paolo.carlini@oracle.com>
272
273         PR c++/64877
274         * typeck.c (cp_build_binary_op): Avoid spurious -Waddress warnings
275         for generated expressions.
276
277 2015-02-02  Ville Voutilainen  <ville.voutilainen@gmail.com>
278
279         PR c++/64901
280         * decl.c (duplicate_decls): Also duplicate DECL_FINAL_P and
281         DECL_OVERRIDE_P.
282
283 2015-02-02  Jason Merrill  <jason@redhat.com>
284
285         * tree.c (handle_abi_tag_attribute): Diagnose invalid arguments.
286
287 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
288
289         * class.c, except.c, parser.c, pt.c: All callers of fatal_error
290         changed to pass input_location as first argument.
291
292 2015-01-29  Jakub Jelinek  <jakub@redhat.com>
293
294         PR c++/64717
295         * cp-ubsan.c (cp_ubsan_instrument_vptr): Don't wrap vptr
296         into SAVE_EXPR.
297
298 2015-01-29  Jason Merrill  <jason@redhat.com>
299
300         PR c++/49508
301         * semantics.c (finish_return_stmt): Suppress -Wreturn-type on
302         erroneous return statement.
303
304         PR c++/64521
305         * repo.c (repo_emit_p): It's OK for a clone to be extern at this
306         point.
307
308 2015-01-27  Caroline Tice  <cmtice@google.com>
309
310         Committing VTV Cywin/Ming patch for Patrick Wollgast
311         * vtable-class-hierarchy.cc (vtv_generate_init_routine): Add
312         check for not TARGET_PECOFF at the VTV_PREINIT_PRIORITY checks.
313
314 2015-01-27  Jason Merrill  <jason@redhat.com>
315
316         PR c++/58597
317         * lambda.c (maybe_add_lambda_conv_op): Check cfun rather than
318         current_function_decl.
319
320         PR c++/63889
321         * pt.c (finish_template_variable): Move from semantics.c.
322         Handle multiple template arg levels.  Handle coercion here.
323         (lookup_template_variable): Not here.
324
325 2015-01-23  Jason Merrill  <jason@redhat.com>
326
327         PR c++/64314
328         PR c++/57510
329         * typeck2.c (split_nonconstant_init_1): Remove a sub-CONSTRUCTOR
330         that has been completely split out.
331
332         PR c++/64701
333         * constexpr.c (cxx_eval_constant_expression): Don't crash on C++
334         statement codes.
335
336         PR c++/64727
337         * constexpr.c (cxx_eval_constant_expression): Allow for lvalue use
338         of CONST_DECL.
339
340 2015-01-21  Jason Merrill  <jason@redhat.com>
341
342         PR c++/64603
343         * constexpr.c (cxx_eval_constant_expression): Only shortcut
344         constant CONSTRUCTORs.
345
346         PR c++/64647
347         * constexpr.c (ensure_literal_type_for_constexpr_object): Don't
348         give a hard error in a template instantiation.
349
350 2015-01-21  Richard Biener  <rguenther@suse.de>
351
352         PR middle-end/64313
353         * decl.c (duplicate_decls): Call set_builtin_decl_declared_p
354         for builtins the user declared correctly.
355
356 2015-01-16  Paolo Carlini  <paolo.carlini@oracle.com>
357
358         PR c++/58614
359         * pt.c (unify): When BRACE_ENCLOSED_INITIALIZER_P (arg), handle
360         TREE_TYPE (elt) == error_mark_node.
361
362 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
363
364         PR tree-optimization/62053
365         * tree.c (build_cplus_array_type): Layout type after variants are set.
366
367 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
368
369         * cp-gimplify.c (cp_genericize_r): Call
370         cp_ubsan_maybe_instrument_member_call for member calls.
371         (cp_ubsan_check_member_access_r): New function.
372         (cp_genericize_tree): Call cp_ubsan_instrument_member_accesses.
373         * cp-tree.h (cp_ubsan_maybe_instrument_member_call,
374         cp_ubsan_instrument_member_accesses,
375         cp_ubsan_maybe_instrument_downcast,
376         cp_ubsan_maybe_instrument_cast_to_vbase): New prototypes.
377         * cp-ubsan.c: New file.
378         * Make-lang.in (CXX_AND_OBJCXX_OBJS): Add cp/cp-ubsan.o.
379         * constexpr.c (cxx_eval_call_expression): Return void_node
380         for IFN_UBSAN_VPTR.
381         (potential_constant_expression_1): Return true for
382         UBSAN_NULL, UBSAN_BOUNDS and UBSAN_VPTR internal calls.
383         * typeck.c (build_class_member_access_expr): Provide locus
384         for COMPONENT_REFs.
385         (build_static_cast_1): Instrument downcasts.
386         * class.c (build_base_path): For -fsanitize=vptr and !fixed_type_p
387         add ubsan instrumentation for virtual_access.
388         * call.c: Include internal-fn.h.
389         (set_flags_from_callee): Handle internal calls.
390
391 2015-01-15  Momchil Velikov  <momchil.velikov@gmail.com>
392
393         PR c++/59366
394         * name-lookup.c (pushdecl_maybe_friend_1): Hide friend functions
395         and function templates, declared only in the class.
396         * decl.c (duplicate_decls): Reveal hidden friend functions or
397         function templates, if they are redeclared outside the class.
398
399 2015-01-15  Jason Merrill  <jason@redhat.com>
400
401         PR c++/64356
402         * constexpr.c (cxx_eval_binary_expression): Fix pasto.
403
404         PR c++/63283
405         * constexpr.c (potential_constant_expression_1): Handle reference
406         args in templates.
407
408 2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
409             James Norris  <jnorris@codesourcery.com>
410             Cesar Philippidis  <cesar@codesourcery.com>
411             Ilmir Usmanov  <i.usmanov@samsung.com>
412             Jakub Jelinek  <jakub@redhat.com>
413
414         * parser.c: Include "gomp-constants.h".
415         (cp_parser_omp_clause_map): Use enum gomp_map_kind instead of enum
416         omp_clause_map_kind.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.
417         Use OMP_CLAUSE_SET_MAP_KIND.
418         (cp_parser_omp_construct, cp_parser_pragma): Handle
419         PRAGMA_OACC_CACHE, PRAGMA_OACC_DATA, PRAGMA_OACC_ENTER_DATA,
420         PRAGMA_OACC_EXIT_DATA, PRAGMA_OACC_KERNELS, PRAGMA_OACC_PARALLEL,
421         PRAGMA_OACC_LOOP, PRAGMA_OACC_UPDATE, PRAGMA_OACC_WAIT.
422         (cp_parser_omp_clause_name): Handle "async", "copy", "copyout",
423         "create", "delete", "deviceptr", "host", "num_gangs",
424         "num_workers", "present", "present_or_copy", "pcopy",
425         "present_or_copyin", "pcopyin", "present_or_copyout", "pcopyout",
426         "present_or_create", "pcreate", "vector_length", "wait".
427         (OACC_DATA_CLAUSE_MASK, OACC_ENTER_DATA_CLAUSE_MASK)
428         (OACC_EXIT_DATA_CLAUSE_MASK, OACC_KERNELS_CLAUSE_MASK)
429         (OACC_LOOP_CLAUSE_MASK, OACC_PARALLEL_CLAUSE_MASK)
430         (OACC_UPDATE_CLAUSE_MASK, OACC_WAIT_CLAUSE_MASK): New macros.
431         (cp_parser_omp_var_list_no_open): Handle OMP_CLAUSE__CACHE_.
432         (cp_parser_oacc_data_clause, cp_parser_oacc_data_clause_deviceptr)
433         (cp_parser_oacc_clause_vector_length, cp_parser_oacc_wait_list)
434         (cp_parser_oacc_clause_wait, cp_parser_omp_clause_num_gangs)
435         (cp_parser_omp_clause_num_workers, cp_parser_oacc_clause_async)
436         (cp_parser_oacc_all_clauses, cp_parser_oacc_cache)
437         (cp_parser_oacc_data, cp_parser_oacc_enter_exit_data)
438         (cp_parser_oacc_kernels, cp_parser_oacc_loop)
439         (cp_parser_oacc_parallel, cp_parser_oacc_update)
440         (cp_parser_oacc_wait): New functions.
441         * cp-tree.h (finish_oacc_data, finish_oacc_kernels)
442         (finish_oacc_parallel): New prototypes.
443         * semantics.c: Include "gomp-constants.h".
444         (handle_omp_array_sections): Handle GOMP_MAP_FORCE_DEVICEPTR.  Use
445         GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
446         OMP_CLAUSE_SET_MAP_KIND.
447         (finish_omp_clauses): Handle OMP_CLAUSE_ASYNC,
448         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_WAIT, OMP_CLAUSE__CACHE_.
449         Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.
450         (finish_oacc_data, finish_oacc_kernels, finish_oacc_parallel): New
451         functions.
452
453 2015-01-14  Paolo Carlini  <paolo.carlini@oracle.com>
454
455         PR c++/58671
456         * decl2.c (var_defined_without_dynamic_init): Handle gracefully
457         self-initialization.
458
459 2015-01-13  Jason Merrill  <jason@redhat.com>
460
461         PR c++/64356
462         PR libstdc++/58777
463         * constexpr.c (cxx_eval_binary_expression): Don't VERIFY_CONSTANT
464         pointer expressions.
465         (cxx_eval_increment_expression): Likewise.
466
467         PR c++/64514
468         * pt.c (coerce_template_parameter_pack): Return NULL for a
469         zero-length fixed parameter pack with a pack expansion arg.
470
471         PR c++/64520
472         * pt.c (unify): Don't try to deduce to std::initializer_list<T...>.
473
474 2015-01-12  Jason Merrill  <jason@redhat.com>
475
476         PR c++/64547
477         * constexpr.c (cxx_eval_call_expression): A call to a void
478         function doesn't need to return a value.
479
480 2015-01-09  Michael Collison  <michael.collison@linaro.org>
481
482         * call.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
483         input.h, alias.h, symtab.h, options.h, fold-const.h,
484         wide-int.h, and inchash.h due to flattening of tree.h.
485         * class.c: Ditto.
486         * constexpr.c: Ditto.
487         * cp-array-notation.c: Ditto.
488         * cp-gimplify.c: Ditto.
489         * cp-lang.c: Ditto.
490         * cp-objcp-common.c: Ditto.
491         * cvt.c: Ditto.
492         * decl2.c: Ditto.
493         * decl.c: Ditto.
494         * dump.c: Ditto.
495         * error.c: Ditto.
496         * except.c: Ditto.
497         * expr.c: Ditto.
498         * friend.c: Ditto.
499         * init.c: Ditto.
500         * lambda.c: Ditto.
501         * lex.c: Ditto.
502         * mangle.c: Ditto.
503         * name-lookup.c: Ditto.
504         * optimize.c: Ditto.
505         * parser.c: Ditto.
506         * pt.c: Ditto.
507         * ptree.c: Ditto.
508         * repo.c: Ditto.
509         * rtti.c: Ditto.
510         * search.c: Ditto.
511         * semantics.c: Ditto.
512         * tree.c: Ditto.
513         * typeck2.c: Ditto.
514         * typeck.c: Ditto.
515
516 2015-01-08  Jason Merrill  <jason@redhat.com>
517
518         * cp-gimplify.c (cp_genericize): Use do_ubsan_in_current_function.
519         * decl.c (compute_array_index_type): Likewise.
520         * init.c (build_vec_init): Likewise.
521         * typeck.c (cp_build_binary_op): Likewise.
522
523 2015-01-08  Jason Merrill  <jason@redhat.com>
524
525         * init.c (build_vec_init): Call ubsan_instrument_bounds to check
526         whether an initializer-list is too big for a VLA.
527         (throw_bad_array_length): Remove.
528         * cp-tree.h: Remove prototype.
529
530 2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
531
532         PR c++/60753
533         * decl.c (grokfndecl): Add bool parameter.
534         (grokdeclarator): Adjust calls.
535         (start_decl): Don't set DECL_DELETED_FN here.
536
537 2015-01-06  Jason Merrill  <jason@redhat.com>
538
539         * parser.c (cp_parser_nested_name_specifier_opt): Diagnose invalid
540         template-ids.
541
542         PR c++/64455
543         * pt.c (type_dependent_expression_p): Handle variable templates.
544         * constexpr.c (potential_constant_expression_1): Use it.
545
546         PR c++/64487
547         * semantics.c (finish_offsetof): Handle templates here.
548         * parser.c (cp_parser_builtin_offsetof): Not here.
549
550         PR c++/64496
551         * semantics.c (process_outer_var_ref): Diagnose lambda in local
552         class NSDMI.
553
554 2015-01-06  Ville Voutilainen  <ville.voutilainen@gmail.com>
555
556         PR c++/64489
557         * class.c (check_field_decls): Make copy assignment operators
558         complex only in c++98 mode.
559
560 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
561
562         PR c++/31397
563         * class.c (check_for_override): Warn when a virtual function is an
564         override not marked override.
565
566 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
567
568         * class.c (warn_hidden): Use auto_vec<tree> instead of tree_list to
569         hold base_fndecls.
570         (get_basefndecls): Adjust.
571
572 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
573
574         Update copyright years.
575
576 2015-01-05  Marek Polacek  <polacek@redhat.com>
577
578         PR c/64423
579         * typeck.c (cp_build_array_ref): Pass loc down to
580         warn_array_subscript_with_type_char.
581
582 \f
583 Copyright (C) 2015 Free Software Foundation, Inc.
584
585 Copying and distribution of this file, with or without modification,
586 are permitted in any medium without royalty provided the copyright
587 notice and this notice are preserved.