re PR c++/77545 (ICE on valid C++11 code: in potential_constant_expression_1, at...
[gcc.git] / gcc / cp / ChangeLog
1 2017-01-04 Marek Polacek <polacek@redhat.com>
2
3 PR c++/77545
4 PR c++/77284
5 * constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
6
7 2017-01-04 Nathan Sidwell <nathan@acm.org>
8
9 PR c++/66735
10 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
11 (lambda_capture_field_type): Update prototype.
12 * lambda.c (lambda_capture_field_type): Add is_reference parm.
13 Add referenceness here.
14 (add_capture): Adjust lambda_capture_field_type call, refactor
15 error checking.
16 * pt.c (tsubst): Adjust lambda_capture_field_type call.
17
18 2017-01-01 Jakub Jelinek <jakub@redhat.com>
19
20 Update copyright years.
21 \f
22 Copyright (C) 2017 Free Software Foundation, Inc.
23
24 Copying and distribution of this file, with or without modification,
25 are permitted in any medium without royalty provided the copyright
26 notice and this notice are preserved.