PR c++/71568 - SFINAE forming pointer to member function
[gcc.git] / gcc / cp / ChangeLog
index e69e2eafdf1d3baf6d5cbbd8d9135ed28e468ecd..5792e5d08d0068b06f25929d3e9c114174e48671 100644 (file)
@@ -1,3 +1,56 @@
+2017-02-27  Jason Merrill  <jason@redhat.com>
+
+       PR c++/71568 - SFINAE forming pointer to member function
+       * init.c (build_offset_ref): Check the return value of
+       perform_or_defer_access_check.
+
+2017-02-27  Marek Polacek  <polacek@redhat.com>
+
+       * decl.c (expand_static_init): Add missing } in a comment.
+
+2017-02-27  Volker Reichelt  <v.reichelt@netcologne.de>
+
+       * init.c: Include intl.h.
+       (build_new_1): Move message strings into pedwarn to make them
+       -Wformat-security friendly. Mark string for translation.
+       * pt.c (tsubst_copy_and_build): Mark string for translation.
+       Make the pointer const.
+       * semantics.c (finish_id_expression): Mark strings for translation.
+
+2017-02-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * call.c (build_op_delete_call): Make msg1 and msg2 const.
+
+2017-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/79588
+       * call.c (build_over_call): Call check_function_arguments even for
+       -Wrestrict, adjust check_function_arguments caller.
+       * parser.c (cp_parser_postfix_expression): Don't handle -Wrestrict
+       here.
+       * typeck.c (cp_build_function_call_vec): Adjust
+       check_function_arguments caller.
+
+2017-02-24  Marek Polacek  <polacek@redhat.com>
+
+       PR translation/79705
+       * decl.c (check_redeclaration_exception_specification): Mark a string
+       for translation.  Make the pointer const.
+
+2017-02-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/79361
+       * pt.c (register_specialization): Check duplicate_decls return value
+       for error_mark_node and pass it back.
+
+2017-02-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/79679 - missing destructor for argument
+       * call.c (build_over_call): Don't pass tf_no_cleanup to argument
+       conversions.
+
+       * pt.c (do_class_deduction): Handle 0 argument case.
+
 2017-02-22  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/79664