aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2017-03-15 09:59:42 +0100
committerYvan Roux <yvan.roux@linaro.org>2017-03-15 09:59:42 +0100
commit604b17d50dd0d0d8ecfcee70d1eea2ab70378176 (patch)
treeda5476fb9d9bdeb48b7445d1b26b99a3cdba867b /gcc/cp/ChangeLog
parentfb60fe3619726587a74136b5e941481af6a51b40 (diff)
Merge branches/gcc-6-branch rev 246148.
Change-Id: I706269373548f876b7f0d205507817f52ee8a2df
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog84
1 files changed, 84 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a7f94b35a29..81583850b01 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,87 @@
+2017-03-14 Marek Polacek <polacek@redhat.com>
+
+ Backported from mainline
+ 2017-03-09 Marek Polacek <polacek@redhat.com>
+
+ PR c++/79900 - ICE in strip_typedefs
+ * tree.c (strip_typedefs): Skip the attribute handling if T is
+ a variant type which hasn't been updated yet.
+
+ PR c++/79687
+ * init.c (constant_value_1): Break if the variable has a dynamic
+ initializer.
+
+ Backported from mainline
+ 2017-01-31 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/79264
+ * lambda.c (maybe_generic_this_capture): Deal with template-id-exprs.
+ * semantics.c (finish_member_declaration): Assert class is being
+ defined.
+
+ Backported from mainline
+ 2017-01-17 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/61636
+ * cp-tree.h (maybe_generic_this_capture): Declare.
+ * lambda.c (resolvable_dummy_lambda): New, broken out of ...
+ (maybe_resolve_dummy): ... here. Call it.
+ (maybe_generic_this_capture): New.
+ * parser.c (cp_parser_postfix_expression): Speculatively capture
+ this in generic lambda in unresolved member function call.
+ * pt.c (tsubst_copy_and_build): Force hard error from failed
+ member function lookup in generic lambda.
+
+2017-03-07 Marek Polacek <polacek@redhat.com>
+
+ Backported from mainline
+ 2017-03-06 Marek Polacek <polacek@redhat.com>
+
+ PR c++/79796 - ICE with NSDMI and this pointer
+ * call.c (build_over_call): Handle NSDMI with a 'this' by calling
+ replace_placeholders.
+
+2017-02-15 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from mainline
+ 2017-02-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/79429
+ * parser.c (cp_parser_omp_ordered): Don't check for non-pragma_stmt
+ non-pragma_compound context here.
+ (cp_parser_omp_target): Likewise.
+ (cp_parser_pragma): Don't call push_omp_privatization_clauses and
+ parsing for ordered and target omp pragmas in non-pragma_stmt
+ non-pragma_compound contexts.
+
+ PR c/79431
+ * parser.c (cp_parser_oacc_declare): Formatting fix.
+ (cp_parser_omp_declare_target): Don't invoke symtab_node::get on
+ automatic variables.
+
+ 2017-02-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/79377
+ * tree.c (build_min_non_dep_op_overload): For POST{INC,DEC}REMENT_EXPR
+ allow one fewer than expected arguments if flag_permissive.
+
+2017-02-13 Nathan Sidwell <nathan@acm.org>
+
+ PR c++/79296 - ICE mangling localized template instantiation
+ * decl2.c (determine_visibility): Use template fn context for
+ local class instantiations.
+
+2017-02-11 Jason Merrill <jason@redhat.com>
+
+ PR c++/78908 - template ops and bitfields
+ * tree.c (build_min_non_dep): Use unlowered_expr_type.
+
+2017-02-10 Jason Merrill <jason@redhat.com>
+
+ PR c++/78897 - constexpr union
+ * constexpr.c (cxx_eval_store_expression): A store to a union member
+ erases a previous store to another member.
+
2017-01-26 Jason Merrill <jason@redhat.com>
PR c++/79176 - lambda ICE with -flto -Os