*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Sun, 5 Jul 1992 20:27:19 +0000 (20:27 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 5 Jul 1992 20:27:19 +0000 (20:27 +0000)
From-SVN: r1444

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);