From: Richard Stallman Date: Sun, 5 Jul 1992 20:27:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d26ab7561c3a5cb388ff40292fafcc5832526ece;p=platform%2Fupstream%2Fgcc.git *** empty log message *** From-SVN: r1444 --- diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 8da5ef9..1a7026d 100644 --- 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);