aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@gcc.gnu.org>2000-05-17 08:15:29 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2000-05-17 08:15:29 +0000
commit078721e1a2e6f361f4c7ed6b9017b6fb0d7211a1 (patch)
tree2543ce057f160b4e63e78f64be913189cbabb8e5 /gcc/f
parentef94b7f541f59ed3d9f5953a86e026cb217615b6 (diff)
downloadgcc-078721e1a2e6f361f4c7ed6b9017b6fb0d7211a1.zip
gcc-078721e1a2e6f361f4c7ed6b9017b6fb0d7211a1.tar.gz
gcc-078721e1a2e6f361f4c7ed6b9017b6fb0d7211a1.tar.bz2
Add options -Wunused-variable, -Wunused-function, -Wunused-label,
-Wunused-parameter. Retain existing -Wunused behavour. Document. From-SVN: r33953
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/top.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index c33a790..9eb3cce 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * top.c (ffe_decode_option): Update -Wall unused flags by calling
+ set_Wunused.
+
2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
* com.c (ffecom_subscript_check_): Constify array_name
diff --git a/gcc/f/top.c b/gcc/f/top.c
index c48e9f1..91db6d0 100644
--- a/gcc/f/top.c
+++ b/gcc/f/top.c
@@ -510,7 +510,7 @@ ffe_decode_option (argc, argv)
warning about not using it without also specifying -O. */
if (warn_uninitialized != 1)
warn_uninitialized = 2;
- warn_unused = 1;
+ set_Wunused (1);
}
else
return 0;