OSDN Git Service

2011-05-23 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 118022e..20c9808 100644 (file)
@@ -1,3 +1,56 @@
+2011-05-23  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR c++/18016
+       * init.c (perform_member_init): Check for self-initialization.
+
+2011-05-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/48647
+       * typeck.c (composite_pointer_type_r): Return error_mark_node
+       on error in SFINAE context.
+
+2011-05-20  Jason Merrill  <jason@redhat.com>
+
+       PR c++/48945
+       * decl.c (grokdeclarator): Don't add set const function-cv-qual
+       for constexpr fns to memfn_quals, just add it to the type.
+       (revert_static_member_fn): Don't complain about quals.
+       (check_static_quals): New.
+       (grokfndecl): Call it.
+       (start_preparsed_function): Don't call revert_static_member_fn.
+
+       PR c++/48945
+       * decl.c (revert_static_member_fn): Ignore const on constexpr fn.
+
+       PR c++/48780
+       * cvt.c (type_promotes_to): Don't promote scoped enums.
+
+       PR c++/49066
+       * decl.c (duplicate_decls): Preserve DECL_DELETED_FN.
+
+       PR c++/48873
+       * tree.c (stabilize_expr): Fix typo.
+
+       DR 1073
+       PR c++/49082
+       * typeck.c (comp_except_specs): noexcept(false) is not compatible
+       with throw(type-list).
+       * typeck2.c (merge_exception_specifiers): noexcept(false)
+       beats any more limited specification.
+
+       PR c++/24163
+       PR c++/29131
+       * pt.c (tsubst_copy_and_build) [CALL_EXPR]: Avoid repeating
+       unqualified lookup.
+       * semantics.c (perform_koenig_lookup): Add complain parm.
+       * cp-tree.h: Adjust.
+       * parser.c (cp_parser_postfix_expression): Adjust.
+       (cp_parser_perform_range_for_lookup): Adjust.
+
+2011-05-20  Jason Merrill  <jason@redhat.com>
+
+       * semantics.c (finish_call_expr): SET_EXPR_LOCATION.
+
 2011-05-20  Joseph Myers  <joseph@codesourcery.com>
 
        * Make-lang.in (GXX_OBJS): Remove intl.o and version.o.