* dbxout.c (dbxout_type): Check Objective-C++ lang.
authorDevang Patel <dpatel@apple.com>
Wed, 20 Jul 2005 00:24:49 +0000 (17:24 -0700)
committerDevang Patel <dpatel@gcc.gnu.org>
Wed, 20 Jul 2005 00:24:49 +0000 (17:24 -0700)
From-SVN: r102181

gcc/ChangeLog
gcc/dbxout.c

index d411fc276b3df4c12cb8869884266f611378ac58..45251cbfc491fce5411dd57e1698d0ddc15e68ec 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-19  Devang Patel  <dpatel@apple.com>
+
+       * dbxout.c (dbxout_type): Check Objective-C++ lang.
+       
 2005-07-19  Richard Henderson  <rth@redhat.com>
 
        PR tree-opt/22278
index 74e4bb8daa8d390f45c0ca7537f51cb159fd3edb..caff4f2faf953e2ab1f3826fde753b7731ff8717 100644 (file)
@@ -2081,7 +2081,8 @@ dbxout_type (tree type, int full)
                                   access == access_protected_node
                                   ? '1' :'0');
                    if (BINFO_VIRTUAL_P (child)
-                       && strcmp (lang_hooks.name, "GNU C++") == 0)
+                       && (strcmp (lang_hooks.name, "GNU C++") == 0
+                           || strcmp (lang_hooks.name, "GNU Objective-C++") == 0))
                      /* For a virtual base, print the (negative)
                         offset within the vtable where we must look
                         to find the necessary adjustment.  */