OSDN Git Service

* dbxout.c (dbxout_type): Check Objective-C++ lang.
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2005 00:24:49 +0000 (00:24 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Jul 2005 00:24:49 +0000 (00:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102181 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dbxout.c

index d411fc2..45251cb 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 74e4bb8..caff4f2 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.  */