1 2018-01-09 Jakub Jelinek <jakub@redhat.com>
4 * constexpr.c (cxx_eval_statement_list): Ignore DEBUG_BEGIN_STMTs
5 in STATEMENT_LIST. Remove unneeded assert.
7 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
8 Alan Hayward <alan.hayward@arm.com>
9 David Sherwood <david.sherwood@arm.com>
11 * constexpr.c (cxx_eval_array_reference): Handle polynomial
13 (cxx_fold_indirect_ref): Handle polynomial TYPE_VECTOR_SUBPARTS.
14 * call.c (build_conditional_expr_1): Likewise.
15 * decl.c (cp_finish_decomp): Likewise.
16 * mangle.c (write_type): Likewise.
17 * typeck.c (structural_comptypes): Likewise.
18 (cp_build_binary_op): Likewise.
19 * typeck2.c (process_init_constructor_array): Likewise.
21 2018-01-03 Jakub Jelinek <jakub@redhat.com>
24 * typeck.c (build_static_cast_1): For static casts to reference types,
25 call build_base_path with flag_delete_null_pointer_checks as nonnull
26 instead of always false. When -fsanitize=null, call
27 ubsan_maybe_instrument_reference on the NULL reference INTEGER_CST.
28 * cp-gimplify.c (cp_genericize_r): Don't walk subtrees of UBSAN_NULL
29 call if the first argument is INTEGER_CST with REFERENCE_TYPE.
31 2018-01-03 Nathan Sidwell <nathan@acm.org>
34 * method.c (make_alias_for): Copy DECL_CONTEXT.
36 2018-01-03 Marek Polacek <polacek@redhat.com>
39 * decl.c (grokdeclarator): Don't warn about MVP in typename context.
41 2018-01-03 Jakub Jelinek <jakub@redhat.com>
44 * name-lookup.c (lookup_name_fuzzy): Don't use macro_use_before_def
48 * cp-gimplify.c (cp_fold) <case NOP_EXPR>: If the operand folds to
49 error_mark_node, return error_mark_node.
51 Update copyright years.
53 2018-01-02 Jakub Jelinek <jakub@redhat.com>
56 * tree.c (replace_placeholders_r): Pass NULL as last argument to
57 cp_walk_tree instead of d->pset. If non-TREE_CONSTANT and
58 non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees
60 (replace_placeholders): Pass NULL instead of &pset as last argument
63 2018-01-02 Nathan Sidwell <nathan@acm.org>
65 * constexpr.c (cxx_bind_parameters_in_call): Remove unneeded local
68 Copyright (C) 2018 Free Software Foundation, Inc.
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.