OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 1992 20:27:19 +0000 (20:27 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Jul 1992 20:27:19 +0000 (20:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1444 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dbxout.c

index 8da5ef9..1a7026d 100644 (file)
@@ -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);