OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 2d261e7..db8b3eb 100644 (file)
@@ -1,3 +1,41 @@
+2007-09-06  Tom Tromey  <tromey@redhat.com>
+
+       * decl.c (finish_function): Put return's location on line zero of
+       file.
+
+2007-09-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/15745
+       * except.c (prepare_eh_type): Use type_decays_to.
+
+       PR c++/15097
+       * init.c (build_delete): Use build_headof to get the address of the
+       complete object if we aren't using the deleting destructor.
+       * rtti.c (build_headof): No longer static.
+       * cp-tree.h: Declare it.
+
+2007-09-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * decl.c (duplicate_decls): Set TREE_NOTHROW on __builtin_XX
+       decl if a prototype for XX is provided with throw().
+
+       PR c++/33289
+       * decl.c (builtin_function_1): Set DECL_ANTICIPATED also
+       on __*_chk non-__builtin_* decls.
+
+2007-09-05  Paolo Carlini  <pcarlini@suse.de>
+
+       PR c++/30302
+       * semantics.c (finish_id_expression): Use context_for_name_lookup
+       insted of DECL_CONTEXT, to see through anonymous structs and unions.
+       * class.c (finish_struct_anon): Deal correctly with anonymous
+       structs (vs unions, as GNU extension) in error messages.
+
+2007-09-05  Jan Hubicka  <jh@suse.cz>
+
+       * cp/sematics.c (expand_body): Remove unnecesary import_export_decl
+       call, DECL_EXTERNAL checks and current_function_decl saving.
+
 2007-09-05  Paolo Carlini  <pcarlini@suse.de>
 
        PR c++/29731 (again)
@@ -6,6 +44,9 @@
 
 2007-09-04  Jason Merrill  <jason@redhat.com>
 
+       * except.c (initialize_handler_parm): Use
+       fold_build_cleanup_point_expr.
+
        PR c++/31419
        * call.c (reference_binding): Don't look for user-defined conversions
        to the same type.
        (get_delta_difference_1): New function.
        (get_delta_difference): Refactor to call get_delta_difference_1.
 
+2007-08-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * decl.c (start_preparsed_function): Set
+       DECL_DISREGARD_INLINE_LIMITS for GNU_INLINE_P functions.
+
 2007-08-28  Paolo Carlini  <pcarlini@suse.de>
 
        PR c++/33209
 2007-08-06  Paolo Carlini  <pcarlini@suse.de>
 
        PR c++/19532
-       * pt.c (template_class_depth): Fix comment; change return type
+       * pt.c (inline_needs_template_parms): Fix comment; change return type
        to bool.
 
 2007-08-05  Volker Reichelt  <v.reichelt@netcologne.de>