OSDN Git Service

cp:
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 02fb550..f02f7fa 100644 (file)
@@ -1,3 +1,58 @@
+2001-06-14  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * class.c (dfs_accumulate_vtbl_inits): For case 2 & 3, make sure
+       we've not emerged from the hierarchy of RTTI_BINFO on reaching
+       a non-virtual base.
+
+2001-06-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * NEWS: Update release number.
+
+2001-06-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/3130, c++/3131, c++/3132
+       * cp-tree.h (BINFO_UNSHARED_MARKED): New #define.
+       * class.c (force_canonical_binfo_r): Move
+       BINFO_UNSHARED_MARKED, BINFO_LOST_PRIMARY_P. Don't move
+       virtual bases unless they're primary and what they're primary
+       too has been moved.
+       (dfs_unshared_virtual_bases): Use BINFO_UNSHARED_MARKED. Cope
+       with morally virtual bases. Duplicate BINFO_LOST_PRIMARY_P and
+       BINFO_PRIMARY_BASE_OF. Clear BINFO_VTABLE for all but the most
+       derived binfo.
+       (mark_primary_bases): Use BINFO_UNSHARED_MARKED.
+       (layout_nonempty_base_or_field): Add most derived type
+       parameter. Adjust.
+       (layout_empty_base): Likewise.
+       (build_base_field): Likewise.
+       (build_base_fields): Likewise.
+       (propagate_binfo_offsets): Add most derived type
+       parameter. Skip non canonical virtual bases too.
+       (dfs_set_offset_for_unshared_vbases): Don't skip primary
+       bases. Do skip canonical bases.
+       (layout_virtual_bases): Adjust.
+       (layout_class_type): Adjust.
+       (dfs_get_primary_binfo): Build list of virtual primary base
+       candidates.
+       (get_primary_binfo): Check that the shared virtual primary
+       base candidate was found first.
+       (accumulate_vtbl_inits): Don't do anything for non-vptr
+       containing binfos. For case 1 primary virtual bases, keep
+       checking that we've not emerged from the hierarchy of RTTI_BINFO.
+
+2001-06-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/3089
+       * class.c (dfs_accumulate_vtbl_inits): Always walk down the
+       hierarchy looking for primary bases for a ctor
+       vtable. Recursively call oneself, if we meet our primary via
+       this route and haven't met it yet via inheritance graph order.
+
+2001-06-11  Mark Mitchell  <mark@codesourcery.com>
+
+       * lang-options.h: Emit documentation for -fno-honor-std, not
+       -fhonor-std.
+
 2001-06-10  Alexandre Oliva  <aoliva@redhat.com>
 
        * typeck.c (get_member_function_from_ptrfunc) [vbit_in_delta]: