From: Jeffrey A Law Date: Thu, 18 Sep 1997 23:30:08 +0000 (+0000) Subject: com.c (lang_printable_name): Use verbosity argument. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b92f5cc09399906fd087ffc8ffa8bde0851ea542;p=gcc.git com.c (lang_printable_name): Use verbosity argument. * com.c (lang_printable_name): Use verbosity argument. Just to keep the compiler quiet. From-SVN: r15552 --- diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs index bddd27ecb7d..8ee211339a0 100644 --- a/gcc/f/ChangeLog.egcs +++ b/gcc/f/ChangeLog.egcs @@ -1,3 +1,7 @@ +Thu Sep 18 17:31:38 1997 Jeffrey A Law (law@cygnus.com) + + * com.c (lang_printable_name): Use verbosity argument. + Thu Sep 18 16:08:40 1997 Jeffrey A Law (law@cygnus.com) * Make-lang.in: Fix merge problems. diff --git a/gcc/f/com.c b/gcc/f/com.c index 832779c0e15..cf2962eec29 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -14156,7 +14156,14 @@ finish_function (int nested) static char * lang_printable_name (tree decl, int v) { - return IDENTIFIER_POINTER (DECL_NAME (decl)); + /* Just to keep GCC quiet about the unused variable. + In theory, differing values of V should produce different + output. */ + switch (v) + { + default: + return IDENTIFIER_POINTER (DECL_NAME (decl)); + } } /* g77's function to print out name of current function that caused