OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* dbxout.c (dbxout_type): Check Objective-C++ lang.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
dbxout.c
diff --git
a/gcc/dbxout.c
b/gcc/dbxout.c
index
74e4bb8
..
caff4f2
100644
(file)
--- 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)
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. */
/* For a virtual base, print the (negative)
offset within the vtable where we must look
to find the necessary adjustment. */