PR c++/66808
[official-gcc.git] / gcc / cp / ChangeLog
blobc8b81605f43ca93e0fa0273612fd7e0f6599b2ca
1 2016-01-12  Jakub Jelinek  <jakub@redhat.com>
3         PR c++/66808
4         PR c++/69000
5         * pt.c (tsubst_decl): If not local_p, clear DECL_TEMPLATE_INFO.
7 2016-01-11  Jason Merrill  <jason@redhat.com>
9         PR c++/69131
10         * method.c (walk_field_subobs): Add dtor_from_ctor parm.
11         (process_subob_fn): Likewise.  Don't consider triviality if true.
12         (synthesize_method_walk): Pass it.
14 2016-01-11  David Malcolm  <dmalcolm@redhat.com>
16         PR c++/68795
17         * parser.c (cp_parser_postfix_expression): Initialize
18         close_paren_loc to UNKNOWN_LOCATION; only use it if
19         it has been written to by
20         cp_parser_parenthesized_expression_list.
21         (cp_parser_parenthesized_expression_list): Document the behavior
22         with respect to the CLOSE_PAREN_LOC param.
24 2016-01-11  Jakub Jelinek  <jakub@redhat.com>
26         PR c++/69211
27         * cp-gimplify.c (cp_fold): If COMPOUND_EXPR or MODIFY_EXPR
28         folded operands have side-effects, but folding changed any of them,
29         build a new tree with the folded operands instead of returning the
30         unfolded tree.
32 2016-01-09  Marek Polacek  <polacek@redhat.com>
34         PR c++/69113
35         * decl2.c (comdat_linkage): Only set DECL_COMDAT if TREE_PUBLIC is set.
37 2016-01-09  Jakub Jelinek  <jakub@redhat.com>
39         PR c++/69164
40         * class.c (layout_class_type): Use copy_node to copy FIELD_DECLs.
42 2016-01-08  Jason Merrill  <jason@redhat.com>
44         PR c++/69158
45         * constexpr.c (cxx_fold_indirect_ref): Handle array type differing
46         in completion.
48 2016-01-08  Marek Polacek  <polacek@redhat.com>
50         PR c++/68449
51         * constexpr.c (cxx_eval_constant_expression): Handle NULL initializer.
53 2016-01-08  Jason Merrill  <jason@redhat.com>
55         * constexpr.c (cxx_eval_call_expression): Remove convert_to_void
56         workaround.
58         PR c++/68983
59         PR c++/67557
60         * cvt.c (convert_to_void): Don't strip a TARGET_EXPR of
61         TREE_ADDRESSABLE type.
63         PR c++/68983
64         PR c++/67557
65         * call.c (unsafe_copy_elision_p): Look through COMPOUND_EXPR.
67 2016-01-05  Nathan Sidwell  <nathan@acm.org>
69         PR c++/58583
70         * pt.c (build_non_dependent_expr): Don't try a checking fold when
71         parsing an nsdmi.
73 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
75         Update copyright years.
77 Copyright (C) 2016 Free Software Foundation, Inc.
79 Copying and distribution of this file, with or without modification,
80 are permitted in any medium without royalty provided the copyright
81 notice and this notice are preserved.