aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2005-07-19 17:24:49 -0700
committerDevang Patel <dpatel@gcc.gnu.org>2005-07-19 17:24:49 -0700
commitf37d7c6065a4f64b7af059bc8cbd05c3e7f2e9cf (patch)
tree812cf3867c07299850b059a863ccb42498596e91
parenta897e9898cf3ab4a1e8602ccbb1886ca1f65b81b (diff)
downloadgcc-f37d7c6065a4f64b7af059bc8cbd05c3e7f2e9cf.zip
gcc-f37d7c6065a4f64b7af059bc8cbd05c3e7f2e9cf.tar.gz
gcc-f37d7c6065a4f64b7af059bc8cbd05c3e7f2e9cf.tar.bz2
* dbxout.c (dbxout_type): Check Objective-C++ lang.
From-SVN: r102181
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dbxout.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d411fc2..45251cb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 74e4bb8..caff4f2 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -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. */