]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/cp/ChangeLog
re PR c++/78693 (Bogus 'inconsistent deduction for ‘auto’' error when having a depend...
[thirdparty/gcc.git] / gcc / cp / ChangeLog
1 2017-01-04 Jakub Jelinek <jakub@redhat.com>
2
3 PR c++/78693
4 * parser.c (cp_parser_simple_declaration): Only complain about
5 inconsistent auto deduction if auto_result doesn't use auto.
6
7 * parser.c (cp_parser_simple_declaration): Diagnose function
8 declaration among more than one init-declarators with auto
9 specifier.
10
11 PR c++/71182
12 * parser.c (cp_lexer_previous_token): Use vec_safe_address in the
13 assertion, as lexer->buffer may be NULL.
14
15 2017-01-04 Marek Polacek <polacek@redhat.com>
16
17 PR c++/77545
18 PR c++/77284
19 * constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
20
21 2017-01-04 Nathan Sidwell <nathan@acm.org>
22
23 PR c++/66735
24 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
25 (lambda_capture_field_type): Update prototype.
26 * lambda.c (lambda_capture_field_type): Add is_reference parm.
27 Add referenceness here.
28 (add_capture): Adjust lambda_capture_field_type call, refactor
29 error checking.
30 * pt.c (tsubst): Adjust lambda_capture_field_type call.
31
32 2017-01-01 Jakub Jelinek <jakub@redhat.com>
33
34 Update copyright years.
35 \f
36 Copyright (C) 2017 Free Software Foundation, Inc.
37
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.