PR target/59685
[official-gcc.git] / gcc / cp / ChangeLog
blob0b9c1812421c7d44ec5637cd02a9239894804ae5
1 2014-01-20  Eric Botcazou  <ebotcazou@adacore.com>
3         * decl2.c (cpp_check): Revert prototype change.
5 2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
7         PR c++/59270
8         PR c++/58811
9         * init.c (build_value_init_noctor): Don't pass error_mark_node to
10         build_value_init.
12 2014-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
14         PR c++/59269
15         * init.c (build_value_init_noctor): Assert !TYPE_HAS_COMPLEX_DFLT
16         only when errorcount == 0.
18 2014-01-17  Marek Polacek  <polacek@redhat.com>
20         PR c++/59838
21         * cvt.c (ocp_convert): Don't segfault on non-existing
22         ENUM_UNDERLYING_TYPE.
24 2014-01-16  Jason Merrill  <jason@redhat.com>
26         PR c++/59821
27         * tree.c (bot_manip): Update the location of builtin_LINE and
28         builtin_FILE calls.
30 2014-01-14  Jason Merrill  <jason@redhat.com>
32         PR c++/59659
33         * typeck2.c (massage_init_elt): New.
34         (process_init_constructor_record)
35         (process_init_constructor_union): Use it.
36         (process_init_constructor_array): Use it.  Use RANGE_EXPR.
37         (split_nonconstant_init_1): Handle it.
38         * semantics.c (cxx_eval_vec_init_1): Use force_rvalue.
40 2014-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
42         PR c++/59631
43         * parser.c (cp_parser_postfix_expression): Added a new if-statement
44         and replaced an existing if-statement with else-if statement.
45         Changed an existing error message wording to match the one from the C
46         parser.
48 2014-01-08  Jason Merrill  <jason@redhat.com>
50         PR c++/59614
51         * class.c (abi_tag_data): Add tags field.
52         (check_abi_tags): Initialize it.
53         (find_abi_tags_r): Support collecting missing tags.
54         (mark_type_abi_tags): Don't look at template args.
55         (inherit_targ_abi_tags): New.
56         (check_bases_and_members): Use it.
57         * cp-tree.h (ABI_TAG_IMPLICIT): New.
58         * mangle.c (write_abi_tags): Check it.
60 2014-01-07  Jason Merrill  <jason@redhat.com>
62         PR c++/58856
63         * pt.c (num_innermost_template_parms): New.
64         (get_underlying_template): Use it.
66         PR c++/58965
67         * mangle.c (write_guarded_var_name): Handle null DECL_NAME.
69 2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
71         * semantics.c (trait_expr_value, [CPTK_IS_BASE_OF]): Implement
72         the letter of 20.11.6 about Base and Derived naming the same
73         class type modulo cv-qualifiers.
75 2014-01-06  Adam Butcher  <adam@jessamine.co.uk>
77         PR c++/59635
78         * lambda.c (maybe_add_lambda_conv_op): Handle marking conversion
79         function as unimplemented for generic lambdas with varargs.
81         PR c++/59636
82         * parser.c (cp_parser_template_parameter): Early out with
83         error_mark_node if parameter declaration was not parsed.
85         PR c++/59629
86         * parser.c (cp_parser_lambda_expression): Save/reset/restore
87         auto_is_implicit_function_template_parm_p around lambda body.
89         PR c++/59638
90         * parser.c (cp_parser_init_declarator): Undo fully implicit
91         template parameter list when declarator is not a function.
93 2014-01-03  Marc Glisse  <marc.glisse@inria.fr>
95         PR c++/58950
96         * cvt.c (convert_to_void): Handle VEC_PERM_EXPR and VEC_COND_EXPR.
98 2014-01-03  Tobias Burnus  <burnus@net-b.de>
100         PR c++/58567
101         * pt.c (tsubst_omp_for_iterator): Early return for error_mark_node.
103 2014-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
105         Core DR 1442
106         PR c++/59165
107         * parser.c (cp_parser_perform_range_for_lookup): Don't pass true
108         as include_std to perform_koenig_lookup.
109         (cp_parser_postfix_expression): Adjust.
110         * pt.c (tsubst_copy_and_build): Likewise.
111         * semantics.c (perform_koenig_lookup): Remove bool parameter.
112         (omp_reduction_lookup): Adjust.
113         * name-lookup.c (lookup_arg_dependent_1): Remove bool parameter.
114         (lookup_arg_dependent): Likewise.
115         (lookup_function_nonclass): Adjust.
116         * name-lookup.h: Adjust declaration.
117         * cp-tree.h: Likewise.
119 2014-01-02  Marc Glisse  <marc.glisse@inria.fr>
121         PR c++/59087
122         * parser.c (cp_parser_userdef_numeric_literal): Mention
123         -fext-numeric-literals in the message.
125 2014-01-02  Marc Glisse  <marc.glisse@inria.fr>
127         PR c++/59641
128         * call.c (build_conditional_expr_1): Check the return value of
129         force_rvalue.
131 2014-01-02  Marc Glisse  <marc.glisse@inria.fr>
133         * call.c (convert_like_real): Check complain.
135 2014-01-02  Marc Glisse  <marc.glisse@inria.fr>
137         PR c++/59378
138         * typeck.c (build_x_vec_perm_expr): Handle non-dependent arguments
139         in templates.
141 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
143         Update copyright years
145 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
147         * cp-array-notation.c, cp-cilkplus.c, vtable-class-hierarchy.c: Use
148         the standard form for the copyright notice.
150 Copyright (C) 2014 Free Software Foundation, Inc.
152 Copying and distribution of this file, with or without modification,
153 are permitted in any medium without royalty provided the copyright
154 notice and this notice are preserved.