1 2016-02-28 Jason Merrill <jason@redhat.com>
4 * constexpr.c (cxx_eval_store_expression): Unshare init.
6 2016-02-26 Jason Merrill <jason@redhat.com>
9 * pt.c (make_argument_pack): New.
10 (tsubst_copy) [SIZEOF_EXPR]: Handle partial expansion.
11 (tsubst_copy_and_build): Likewise.
13 2016-02-25 Jason Merrill <jason@redhat.com>
16 * cp-tree.h (AGGR_INIT_FROM_THUNK_P): New.
17 * tree.c (build_aggr_init_expr): Set it.
18 * semantics.c (simplify_aggr_init_expr): Check it.
19 * cp-gimplify.c (cp_genericize_r): Don't walk into
20 a call/aggr_init from a thunk.
23 * method.c (forward_parm): Handle parameter packs.
24 * lambda.c (maybe_add_lambda_conv_op): Use it for them.
27 * constexpr.c (cxx_eval_component_reference): Don't complain about
28 unevaluated empty classes.
31 * tree.c (strip_typedefs): Use DECL_ORIGINAL_TYPE.
33 2016-02-25 Patrick Palka <ppalka@gcc.gnu.org>
36 * cp-tree.h (REF_PARENTHESIZED_P): Adjust documentation.
37 (maybe_undo_parenthesized_ref): Declare.
38 * semantics.c (maybe_undo_parenthesized_ref): Split out from
40 (finish_call_expr): Use it.
41 * typeck.c (check_return_expr): Use it.
42 * pt.c (tsubst_copy_and_build) [INDIRECT_REF]: Retain the
43 REF_PARENTHESIZED_P flag.
45 2016-02-24 Jakub Jelinek <jakub@redhat.com>
48 * class.c (build_base_path): Set TREE_NO_WARNING on the null_test.
50 * init.c (build_vec_delete_1, build_delete): Don't fold the non-NULL
52 * cp-gimplify.c (cp_fold): For TREE_NO_WARNING comparisons with NULL,
53 unless they are folded into INTEGER_CST, error_mark_node or some
54 comparison with NULL, avoid folding them and use either the original
55 comparison or non-folded comparison of folded arguments.
56 * cp-ubsan.c (cp_ubsan_instrument_vptr): Set TREE_NO_WARNING on the
57 comparison, don't fold the comparison right away.
59 2016-02-24 Jason Merrill <jason@redhat.com>
62 * friend.c (make_friend_class): Likewise.
63 * decl.c (lookup_and_check_tag): Diagnose invalid dependent friend.
65 2016-02-24 Jason Merrill <jason@redhat.com>
68 * pt.c (instantiate_class_template_1): Set
69 processing_template_decl before substituting friend_type.
71 016-02-24 Martin Sebor <msebor@redhat.com>
74 * tree.c (build_ctor_subob_ref): Compare types' main variants
75 instead of the types as they are.
77 2016-02-24 Jason Merrill <jason@redhat.com>
79 * decl.c (start_preparsed_function): Condition ctor clobber on
80 flag_lifetime_dse > 1.
82 * cp-gimplify.c (cp_fold): Don't fold constexpr calls if -fno-inline.
84 2016-02-19 Jason Merrill <jason@redhat.com>
87 * call.c (remaining_arguments): No longer static.
88 * cp-tree.h: Declare it.
89 * pt.c (more_specialized_fn): Use it.
91 2016-02-19 Jakub Jelinek <jakub@redhat.com>
92 Bernd Edlinger <bernd.edlinger@hotmail.de>
94 * Make-lang.in: Invoke gperf with -L C++.
95 * cfns.gperf: Remove prototypes for hash and libc_name_p
97 * cfns.h: Regenerated.
98 * except.c (nothrow_libfn_p): Adjust.
100 2016-02-19 Jakub Jelinek <jakub@redhat.com>
103 * rtti.c (ifnonnull): Set TREE_NO_WARNING on the condition, use
104 NE_EXPR instead of EQ_EXPR and swap last two arguments on COND_EXPR.
106 2016-02-19 Patrick Palka <ppalka@gcc.gnu.org>
109 * pt.c (tsubst_baselink): Don't diagnose an invalid constructor
111 * semantics.c (finish_call_expr): Don't assume a constructor
112 call is dependent if only the "this" pointer is dependent. When
113 building a constructor call, always use a dummy object.
115 2016-02-19 Jakub Jelinek <jakub@redhat.com>
118 * init.c (build_vec_delete_1): Set TREE_NO_WARNING on the NE_EXPR
120 * cp-gimplify.c (cp_fold): Propagate TREE_NO_WARNING from binary
121 operators if folding preserved the binop, just with different
125 * parser.c (cp_parser_std_attribute_spec_seq): Don't assume
126 attr_spec is always single element chain, chain all the attributes
127 properly together in the right order.
129 2016-02-18 Jason Merrill <jason@redhat.com>
131 * mangle.c (maybe_check_abi_tags): Add for_decl parm. Call
133 (mangle_decl): Call maybe_check_abi_tags for function scope.
134 (mangle_guard_variable): Call maybe_check_abi_tags here.
135 (write_guarded_var_name): Not here.
137 2016-02-17 Jason Merrill <jason@redhat.com>
140 * constexpr.c (build_constexpr_constructor_member_initializers):
141 Handle an additional STATEMENT_LIST.
144 * constexpr.c (cxx_eval_bare_aggregate): Fix 'changed' detection.
147 * decl2.c (reset_type_linkage_2): Look through member templates.
149 2016-02-17 Jakub Jelinek <jakub@redhat.com>
152 * init.c (build_delete): Set TREE_NO_WARNING on ifexp.
154 2016-02-17 Jason Merrill <jason@redhat.com>
157 * method.c (forward_parm): Split out from...
158 (add_one_base_init): ...here.
159 * lambda.c (maybe_add_lambda_conv_op): Use it.
161 2016-02-16 Jason Merrill <jason@redhat.com>
165 * call.c, cp-tree.h, name-lookup.c, pt.c, search.c, semantics.c,
166 tree.c, typeck2.c: Revert earlier changes.
167 * parser.c (cp_parser_lookup_name): Ignore namespace-scope
168 non-type templates after -> or .
170 2016-02-16 Jakub Jelinek <jakub@redhat.com>
173 * typeck.c (cp_build_binary_op): Revert 2015-09-09 change.
175 2016-02-16 Jason Merrill <jason@redhat.com>
178 * name-lookup.c (lookup_qualified_name): Add find_hidden parm.
179 (set_decl_namespace): Pass it. Complain about finding a hidden friend.
180 * name-lookup.h: Adjust.
182 2016-02-16 James Norris <jnorris@codesourcery.com>
184 * parser.c (cp_parser_oacc_data_clause_deviceptr): Remove checking.
185 * semantics.c (finish_omp_clauses): Add deviceptr checking.
187 2016-02-15 Jakub Jelinek <jakub@redhat.com>
190 * init.c (expand_default_init): Only call reshape_init
191 in the direct-initialization from an initializer list case.
193 2016-02-15 Jason Merrill <jason@redhat.com>
196 * semantics.c (finish_call_expr): Implicit 'this' does not make
198 * search.c (any_dependent_bases_p): Split out...
199 * name-lookup.c (do_class_using_decl): ...from here.
200 * call.c (build_new_method_call_1): Don't complain about missing object
201 if there are dependent bases. Tweak error.
202 * tree.c (non_static_member_function_p): Remove.
203 * pt.c (type_dependent_expression_p): A member template of a
204 dependent type is dependent.
208 * constexpr.c (verify_ctor_sanity): Remove CONSTRUCTOR_NELTS check.
210 2016-02-12 Patrick Palka <ppalka@gcc.gnu.org>
213 * pt.c (lookup_and_finish_template_variable): New function,
215 (tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: ... here. Use it.
216 (tsubst_qualified_id): Consider that EXPR might be a variable
218 * typeck.c (check_template_keyword): Don't emit an error
219 if DECL is a variable template.
221 2016-02-12 Jakub Jelinek <jakub@redhat.com>
223 * error.c: Spelling fixes - behaviour -> behavior and
224 neighbour -> neighbor.
226 * typeck.c (cp_build_binary_op): Fix up behavior spelling in
228 * init.c (build_delete): Likewise.
230 2016-02-11 Jakub Jelinek <jakub@redhat.com>
233 * typeck.c (cp_build_binary_op): cp_fully_fold integer_zerop
234 arguments for -Waddress warning. Fix up formatting.
236 2016-02-11 Paolo Carlini <paolo.carlini@oracle.com>
239 * pt.c (lookup_template_class_1): Check tsubst return value for
242 2016-02-10 Jason Merrill <jason@redhat.com>
245 * pt.c (resolve_nondeduced_context): Add complain parm.
246 (do_auto_deduction): Pass it.
247 * cvt.c (convert_to_void): Likewise.
248 * decl.c (cp_finish_decl): Likewise.
249 * init.c (build_new): Likewise.
250 * rtti.c (get_tinfo_decl_dynamic): Likewise.
251 * semantics.c (finish_decltype_type): Likewise.
252 * typeck.c (decay_conversion): Likewise.
253 * cp-tree.h: Adjust declaration.
254 * call.c (standard_conversion): Add complain parm, pass it along.
255 (implicit_conversion): Pass it.
258 * name-lookup.c (ambiguous_decl): Call remove_hidden_names.
259 (lookup_name_real_1): Likewise.
260 (remove_hidden_names): Handle non-functions too.
263 * parser.c (cp_parser_lookup_name): When looking for a template
264 after . or ->, only consider class templates.
265 (cp_parser_postfix_dot_deref_expression): Handle the current
266 instantiation. Remember a dependent object expression.
267 * typeck2.c (build_x_arrow): Handle the current instantiation.
269 * ptree.c (debug_tree): Implement for cp_expr.
271 2016-02-08 Patrick Palka <ppalka@gcc.gnu.org>
274 * parser.c (cp_parser_simple_type_specifier): Make the check
275 for disambiguating between an 'auto' placeholder and an implicit
276 template parameter more robust.
278 2016-02-08 Patrick Palka <ppalka@gcc.gnu.org>
282 * decl2.c (mark_used): When given a TEMPLATE_DECL, return after
283 setting its TREE_USED flag.
285 2016-02-08 Jason Merrill <jason@redhat.com>
288 * name-lookup.c (do_nonmember_using_decl): Leave anticipated
291 2016-02-08 Jakub Jelinek <jakub@redhat.com>
294 * parser.c (cp_parser_omp_declare_reduction): Set assembler name
295 of the DECL_OMP_DECLARE_REDUCTION_P decls.
297 2016-02-08 Marek Polacek <polacek@redhat.com>
300 * constexpr.c (clear_cv_and_fold_caches): Renamed from clear_cv_cache.
301 Call clear_fold_cache.
302 * cp-tree.h: Adjust declaration.
303 * decl.c (finish_enum_value_list): Call clear_cv_and_fold_caches
304 rather than clear_cv_cache and clear_fold_cache.
305 * typeck2.c (store_init_value): Call clear_cv_and_fold_caches.
307 2016-02-08 Jason Merrill <jason@redhat.com>
309 * cp-tree.h (CONV_FOLD, CONV_BACKEND_CONVERT): New.
310 * cvt.c (convert): Pass CONV_BACKEND_CONVERT.
311 (ocp_convert): Use *_maybe_fold.
312 (cp_convert_to_pointer): Add dofold parameter.
313 * cp-gimplify.c (cp_fold) [CONVERT_EXPR]: Call convert.
315 2016-02-05 Martin Sebor <msebor@redhat.com>
318 * init.c (find_field_init): New function.
319 (warn_placement_new_too_small): Call it. Handle one-element arrays
320 at ends of structures special.
322 2016-02-05 Jason Merrill <jason@redhat.com>
325 * semantics.c (finish_expr_stmt): If expr is error_mark_node,
326 make sure we've seen_error().
328 2016-02-05 Patrick Palka <ppalka@gcc.gnu.org>
331 * pt.c (tsubst_baselink): Diagnose an invalid constructor call
332 if lookup_fnfields returns NULL_TREE and the name being looked
333 up has the form A::A.
335 2016-02-04 Patrick Palka <ppalka@gcc.gnu.org>
337 * constexpr.c (cxx_eval_binary_expression): Fold equality
338 comparisons involving PTRMEM_CSTs.
340 2016-02-04 Jakub Jelinek <jakub@redhat.com>
342 * class.c (find_flexarrays): Don't declare dom variable.
343 (diagnose_flexarray): Likewise.
345 2016-02-02 Martain Sebor <msebor@redhat.com>
352 * class.c (walk_subobject_offsets): Avoid testing the upper bound
353 of a flexible array member for equality to null.
354 (find_flexarrays): Remove spurious whitespace introduced in r231665.
355 (diagnose_flexarrays): Avoid checking the upper bound of arrays.
356 (check_flexarrays): Same.
357 * decl.c (compute_array_index_type): Avoid special case for flexible
359 (grokdeclarator): Avoid calling compute_array_index_type for flexible
361 * error.c (dump_type_suffix): Revert changes introduced in r231665
362 and rendered unnecessary by the changes above.
363 * pt.c (tsubst): Same.
364 * tree.c (build_ctor_subob_ref): Handle flexible array members.
365 * typeck2.c (digest_init_r): Revert changes introduced in r231665.
366 (process_init_constructor_array): Same.
367 (process_init_constructor_record): Same.
369 2016-02-03 Patrick Palka <ppalka@gcc.gnu.org>
372 * pt.c (try_one_overload): Handle comparing argument packs so
373 that there is no conflict if we deduced more arguments of an
374 argument pack than were explicitly specified.
376 2016-01-31 Jakub Jelinek <jakub@redhat.com>
377 Jason Merrill <jason@redhat.com>
380 * tree.c (strip_typedefs) [FUNCTION_TYPE]: Avoid building a new
381 function type if nothing is changing.
383 2016-01-31 Jason Merrill <jason@redhat.com>
386 * pt.c (partial_specialization_p, impartial_args): New.
387 (instantiate_decl): Call impartial_args.
389 * mangle.c (maybe_check_abi_tags): New.
390 (write_guarded_var_name): Call it.
391 (mangle_ref_init_variable): Call check_abi_tags.
393 * pt.c (lookup_template_class_1): Don't share TYPE_ATTRIBUTES
394 between template and instantiation.
396 2016-01-29 Jakub Jelinek <jakub@redhat.com>
399 * decl.c (wrapup_globals_for_namespace): Warn about unused static
400 function declarations.
402 2016-01-29 Marek Polacek <polacek@redhat.com>
406 * constexpr.c (cxx_eval_array_reference): Give the "array subscript
407 out of bound" error earlier.
408 * init.c (build_vec_init): Change NE_EXPR into GT_EXPR. Update the
411 2016-01-29 Patrick Palka <ppalka@gcc.gnu.org>
413 * name-lookup.c (begin_scope): After reusing a cp_binding_level
414 structure, update free_binding_level before the structure's
415 level_chain field gets cleared, not after.
417 2016-01-28 Jason Merrill <jason@redhat.com>
420 * search.c (dfs_walk_once, dfs_walk_once_r)
421 (dfs_walk_once_accessible_r, dfs_walk_once_accessible): Use
422 hash_set instead of BINFO_MARKED.
423 (dfs_unmark_r): Remove.
425 2016-01-28 Patrick Palka <ppalka@gcc.gnu.org>
428 * parser.c (LEXER_DEBUGGING_ENABLED_P): New macro.
429 (cp_lexer_debugging_p): Use it.
430 (cp_lexer_start_debugging): Likewise.
431 (cp_lexer_stop_debugging): Likewise.
433 2016-01-27 Marek Polacek <polacek@redhat.com>
436 * typeck.c (cp_build_binary_op): Promote operand to unsigned, if
437 needed. Add -Wsign-compare warning.
439 2016-01-27 Ryan Burn <contact@rnburn.com>
442 * cp-gimplify.c (cilk_cp_gimplify_call_params_in_spawned_fn): Removed
443 superfluous post_p argument in call to
444 cilk_gimplify_call_params_in_spawned_fn.
446 2016-01-27 Marek Polacek <polacek@redhat.com>
449 * constexpr.c (cxx_eval_constant_expression): Handle PTRMEM_CSTs
450 wrapped in NOP_EXPRs.
452 2016-01-27 Martin Sebor <msebor@redhat.com>
455 * mangle.c (mangle_decl): Reference the correct (saved) version
456 of the ABI in -Wabi diagnostics.
458 2016-01-27 Marek Polacek <polacek@redhat.com>
461 * constexpr.c (cxx_eval_array_reference): Evaluate the number of
462 elements of the array.
464 2016-01-26 Jason Merrill <jason@redhat.com>
467 * constexpr.c (register_constexpr_fundef): Keep the un-massaged body.
468 (cxx_eval_call_expression): Don't look through clones.
469 * optimize.c (maybe_clone_body): Clear DECL_SAVED_TREE of the alias.
470 * semantics.c (expand_or_defer_fn_1): Keep DECL_SAVED_TREE of
471 maybe-in-charge *tor.
473 2016-01-26 Jason Merrill <jason@redhat.com>
476 * constexpr.c (cxx_eval_bare_aggregate): Update TREE_CONSTANT
477 and TREE_SIDE_EFFECTS.
478 (cxx_eval_constant_expression) [CONSTRUCTOR]: Call
479 verify_constructor_flags.
481 2016-01-26 Jakub Jelinek <jakub@redhat.com>
484 * cp-gimplify.c (cp_fold): If some operand folds to error_mark_node,
485 return error_mark_node instead of building trees with error_mark_node
488 2016-01-26 David Malcolm <dmalcolm@redhat.com>
491 * error.c (print_instantiation_partial_context_line): Add missing
492 newlines from output for the t == NULL case.
493 (print_instantiation_partial_context): Remove call to pp_newline.
495 2016-01-24 Patrick Palka <ppalka@gcc.gnu.org>
498 2016-01-18 Patrick Palka <ppalka@gcc.gnu.org>
503 * decl.c (grokdeclarator): Don't decay array parameter type to
504 a pointer type if it's dependent.
505 (grokparms): Invoke strip_top_quals instead of directly invoking
506 cp_build_qualified_type.
507 * pt.c (decay_dependent_array_parm_type): New static function.
508 (type_unification_real): Call decay_dependent_array_parm_type
509 to decay a dependent array parameter type to its corresponding
510 pointer type before unification.
511 (more_specialized_fn): Likewise.
512 (get_bindings): Likewise.
513 * tree.c (cp_build_qualified_type): Trivial typofix in
516 2016-01-23 Martin Sebor <msebor@redhat.com>
520 * decl2.c (is_late_template_attribute): Handle dependent argument
521 to attribute align and attribute vector_size.
523 2016-01-21 Jason Merrill <jason@redhat.com>
526 * lambda.c (lambda_capture_field_type): Handle 'this' specially
527 for init-capture, too.
530 * decl.c (type_is_deprecated): Don't look into a typedef.
534 * decl.c (copy_type_enum): Respect TYPE_USER_ALIGN.
537 * decl.c (start_enum): Add attributes parameter.
538 * parser.c (cp_parser_enum_specifier): Pass it.
539 * pt.c (lookup_template_class_1): Pass it.
542 2016-01-19 Jason Merrill <jason@redhat.com>
545 * pt.c (convert_template_argument): Handle VAR_DECL properly.
547 2016-01-19 Marek Polacek <polacek@redhat.com>
550 * constexpr.c (clear_cv_cache): New.
551 * cp-gimplify.c (clear_fold_cache): New.
552 * cp-tree.h (clear_cv_cache, clear_fold_cache): Declare.
553 * decl.c (finish_enum_value_list): Call them.
556 * pt.c (tsubst_copy): Mark elements in expanded vector as used.
558 2016-01-18 Patrick Palka <ppalka@gcc.gnu.org>
563 * decl.c (grokdeclarator): Don't decay array parameter type to
564 a pointer type if it's dependent.
565 (grokparms): Invoke strip_top_quals instead of directly invoking
566 cp_build_qualified_type.
567 * pt.c (decay_dependent_array_parm_type): New static function.
568 (type_unification_real): Call decay_dependent_array_parm_type
569 to decay a dependent array parameter type to its corresponding
570 pointer type before unification.
571 (more_specialized_fn): Likewise.
572 (get_bindings): Likewise.
573 * tree.c (cp_build_qualified_type): Trivial typofix in
576 2016-01-18 Jason Merrill <jason@redhat.com>
578 * cp-gimplify.c (cp_fold) [CONSTRUCTOR]: Don't clobber the input.
580 * cp-gimplify.c (cp_fold): Remove unnecessary special cases.
583 * cp-gimplify.c (cp_fold) [COND_EXPR]: Simplify. Do fold COND_EXPR.
584 (contains_label_1, contains_label_p): Remove.
586 2016-01-16 Patrick Palka <ppalka@gcc.gnu.org>
589 * pt.c (type_dependent_expression_p): For a function template
590 specialization, a type is dependent iff any of its template
593 2016-01-16 Patrick Palka <ppalka@gcc.gnu.org>
595 * cp-array-notation.c (cp_expand_cond_array_notations): Return
596 error_mark_node only if find_rank failed, not if it was
599 2016-01-16 Patrick Palka <ppalka@gcc.gnu.org>
602 * tree.c (build_min_non_dep_call_vec): Don't retain the
603 KOENIG_LOOKUP_P flag of the non-dependent expression that's
605 (build_min_non_dep_op_overload): Instead, do it here.
607 2016-01-15 Jakub Jelinek <jakub@redhat.com>
610 * parser.h (cp_token): Remove pragma_kind field. Add comment
611 with number of unused bits.
612 * parser.c (eof_token): Remove pragma_kind field initializer.
613 (cp_lexer_get_preprocessor_token): Don't set pragma_kind
614 field, don't clear CPP_PRAGMA u.value.
615 (cp_parser_pragma_kind): New function.
616 (cp_parser_omp_sections_scope, cp_parser_oacc_kernels_parallel,
617 cp_parser_omp_construct, cp_parser_initial_pragma,
618 cp_parser_pragma): Use cp_parser_pragma_kind instead of accessing
621 2016-01-15 Jason Merrill <jason@redhat.com>
624 * call.c (build_cxx_call): Use fold_non_dependent_expr.
626 * typeck2.c (cxx_incomplete_type_diagnostic): Use the location of
630 * typeck.c (decay_conversion): Don't call mark_rvalue_use for
631 array/function-to-pointer conversion. Call
632 complete_type_or_maybe_complain for lvalue-to-rvalue conversion.
633 * call.c (convert_like_real): Print call context if
634 decay_conversion errors.
636 2016-01-14 Tom de Vries <tom@codesourcery.com>
638 PR tree-optimization/68773
639 * parser.c (cp_parser_oacc_declare, cp_parser_omp_declare_target): Don't
642 2016-01-14 Jason Merrill <jason@redhat.com>
645 * constexpr.c (find_array_ctor_elt): Handle splitting RANGE_EXPR.
647 2016-01-12 Marek Polacek <polacek@redhat.com>
650 * constexpr.c (cxx_eval_check_shift_p): Use permerror rather than
651 error_at and adjust the return value.
653 2016-01-12 Jakub Jelinek <jakub@redhat.com>
657 * cp-gimplify.c (cp_gimplify_expr) <case INIT_EXPR>: Don't return
658 GS_ERROR whenever seen_error (), only if *expr_p contains
659 cilk spawn stmt, but cilk_detect_spawn_and_unwrap failed.
663 * pt.c (tsubst_decl): If not local_p, clear DECL_TEMPLATE_INFO.
665 2016-01-11 Jason Merrill <jason@redhat.com>
668 * method.c (walk_field_subobs): Add dtor_from_ctor parm.
669 (process_subob_fn): Likewise. Don't consider triviality if true.
670 (synthesize_method_walk): Pass it.
672 2016-01-11 David Malcolm <dmalcolm@redhat.com>
675 * parser.c (cp_parser_postfix_expression): Initialize
676 close_paren_loc to UNKNOWN_LOCATION; only use it if
677 it has been written to by
678 cp_parser_parenthesized_expression_list.
679 (cp_parser_parenthesized_expression_list): Document the behavior
680 with respect to the CLOSE_PAREN_LOC param.
682 2016-01-11 Jakub Jelinek <jakub@redhat.com>
685 * cp-gimplify.c (cp_fold): If COMPOUND_EXPR or MODIFY_EXPR
686 folded operands have side-effects, but folding changed any of them,
687 build a new tree with the folded operands instead of returning the
690 2016-01-09 Marek Polacek <polacek@redhat.com>
693 * decl2.c (comdat_linkage): Only set DECL_COMDAT if TREE_PUBLIC is set.
695 2016-01-09 Jakub Jelinek <jakub@redhat.com>
698 * class.c (layout_class_type): Use copy_node to copy FIELD_DECLs.
700 2016-01-08 Jason Merrill <jason@redhat.com>
703 * constexpr.c (cxx_fold_indirect_ref): Handle array type differing
706 2016-01-08 Marek Polacek <polacek@redhat.com>
709 * constexpr.c (cxx_eval_constant_expression): Handle NULL initializer.
711 2016-01-08 Jason Merrill <jason@redhat.com>
713 * constexpr.c (cxx_eval_call_expression): Remove convert_to_void
718 * cvt.c (convert_to_void): Don't strip a TARGET_EXPR of
719 TREE_ADDRESSABLE type.
723 * call.c (unsafe_copy_elision_p): Look through COMPOUND_EXPR.
725 2016-01-05 Nathan Sidwell <nathan@acm.org>
728 * pt.c (build_non_dependent_expr): Don't try a checking fold when
731 2016-01-04 Jakub Jelinek <jakub@redhat.com>
733 Update copyright years.
735 Copyright (C) 2016 Free Software Foundation, Inc.
737 Copying and distribution of this file, with or without modification,
738 are permitted in any medium without royalty provided the copyright
739 notice and this notice are preserved.