libgo: update to Go1.10beta1
[official-gcc.git] / gcc / cp / ChangeLog
blob73a31dfcf75cf322311065ce204ac2eea659962f
1 2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
2             Alan Hayward  <alan.hayward@arm.com>
3             David Sherwood  <david.sherwood@arm.com>
5         * constexpr.c (cxx_eval_array_reference): Handle polynomial
6         VECTOR_CST_NELTS.
7         (cxx_fold_indirect_ref): Handle polynomial TYPE_VECTOR_SUBPARTS.
8         * call.c (build_conditional_expr_1): Likewise.
9         * decl.c (cp_finish_decomp): Likewise.
10         * mangle.c (write_type): Likewise.
11         * typeck.c (structural_comptypes): Likewise.
12         (cp_build_binary_op): Likewise.
13         * typeck2.c (process_init_constructor_array): Likewise.
15 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
17         PR c++/83555
18         * typeck.c (build_static_cast_1): For static casts to reference types,
19         call build_base_path with flag_delete_null_pointer_checks as nonnull
20         instead of always false.  When -fsanitize=null, call
21         ubsan_maybe_instrument_reference on the NULL reference INTEGER_CST.
22         * cp-gimplify.c (cp_genericize_r): Don't walk subtrees of UBSAN_NULL
23         call if the first argument is INTEGER_CST with REFERENCE_TYPE.
25 2018-01-03  Nathan Sidwell  <nathan@acm.org>
27         PR c++/83667
28         * method.c (make_alias_for): Copy DECL_CONTEXT.
30 2018-01-03  Marek Polacek  <polacek@redhat.com>
32         PR c++/83592
33         * decl.c (grokdeclarator): Don't warn about MVP in typename context.
35 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
37         PR preprocessor/83602
38         * name-lookup.c (lookup_name_fuzzy): Don't use macro_use_before_def
39         for builtin macros.
41         PR c++/83634
42         * cp-gimplify.c (cp_fold) <case NOP_EXPR>: If the operand folds to
43         error_mark_node, return error_mark_node.
45         Update copyright years.
47 2018-01-02  Jakub Jelinek  <jakub@redhat.com>
49         PR c++/83556
50         * tree.c (replace_placeholders_r): Pass NULL as last argument to
51         cp_walk_tree instead of d->pset.  If non-TREE_CONSTANT and
52         non-PLACEHOLDER_EXPR tree has been seen already, set *walk_subtrees
53         to false and return.
54         (replace_placeholders): Pass NULL instead of &pset as last argument
55         to cp_walk_tree.
57 2018-01-02  Nathan Sidwell  <nathan@acm.org>
59         * constexpr.c (cxx_bind_parameters_in_call): Remove unneeded local
60         lval var.
62 Copyright (C) 2018 Free Software Foundation, Inc.
64 Copying and distribution of this file, with or without modification,
65 are permitted in any medium without royalty provided the copyright
66 notice and this notice are preserved.