aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-09-18 23:30:08 +0000
committerJeff Law <law@gcc.gnu.org>1997-09-18 17:30:08 -0600
commitb92f5cc09399906fd087ffc8ffa8bde0851ea542 (patch)
tree743b9a1ee24d2dd19041da45a4703b5b63c78380 /gcc
parentb24bcfb3e64849e2fefec8e708dabb7d65946a3d (diff)
downloadgcc-b92f5cc09399906fd087ffc8ffa8bde0851ea542.zip
gcc-b92f5cc09399906fd087ffc8ffa8bde0851ea542.tar.gz
gcc-b92f5cc09399906fd087ffc8ffa8bde0851ea542.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/f/ChangeLog.egcs4
-rw-r--r--gcc/f/com.c9
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog.egcs b/gcc/f/ChangeLog.egcs
index bddd27e..8ee2113 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 832779c..cf2962e 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