]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
com.c (lang_printable_name): Use verbosity argument.
authorJeffrey A Law <law@cygnus.com>
Thu, 18 Sep 1997 23:30:08 +0000 (23:30 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 18 Sep 1997 23:30:08 +0000 (17:30 -0600)
        * com.c (lang_printable_name): Use verbosity argument.
Just to keep the compiler quiet.

From-SVN: r15552

gcc/f/ChangeLog.egcs
gcc/f/com.c

index bddd27ecb7d750d96063ee801229b003e1f2b2bb..8ee211339a016fc2ec131603d28e6ecee3506590 100644 (file)
@@ -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.
index 832779c0e1507ecea4bff0a206a9c470fa41a097..cf2962eec29f106b97bb2bb227aed5648d4a04ab 100644 (file)
@@ -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