projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04077c5
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Sun, 5 Jul 1992 20:27:19 +0000
(20:27 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 5 Jul 1992 20:27:19 +0000
(20:27 +0000)
From-SVN: r1444
gcc/dbxout.c
patch
|
blob
|
history
diff --git
a/gcc/dbxout.c
b/gcc/dbxout.c
index
8da5ef9
..
1a7026d
100644
(file)
--- a/
gcc/dbxout.c
+++ b/
gcc/dbxout.c
@@
-704,7
+704,9
@@
dbxout_type_methods (type)
type_identifier_length = IDENTIFIER_LENGTH (type_encoding);
- if (TREE_VEC_ELT (methods, 0) != NULL_TREE)
+ if (TREE_CODE (methods) == FUNCTION_DECL)
+ fndecl = methods;
+ else if (TREE_VEC_ELT (methods, 0) != NULL_TREE)
fndecl = TREE_VEC_ELT (methods, 0);
else
fndecl = TREE_VEC_ELT (methods, 1);