summaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/top.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 8d1b3858f3a..e1ac7ac5b91 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 26 07:06:29 2003 Neil Booth <neil@daikokuya.co.uk>
+
+ * top.c (ffe_handle_option): Don't check for missing arguments.
+
Wed Jun 25 06:52:12 2003 Neil Booth <neil@daikokuya.co.uk>
* top.c (ffe_handle_option): Add missing break;.
diff --git a/gcc/f/top.c b/gcc/f/top.c
index 36cdaa6f821..359dd2b8d32 100644
--- a/gcc/f/top.c
+++ b/gcc/f/top.c
@@ -175,19 +175,12 @@ ffe_init_options ()
int
ffe_handle_option (size_t scode, const char *arg, int value)
{
- const struct cl_option *option = &cl_options[scode];
enum opt_code code = (enum opt_code) scode;
/* Ignore file names. */
if (code == N_OPTS)
return 1;
- if (arg == NULL && (option->flags & (CL_JOINED | CL_SEPARATE)))
- {
- error ("missing argument to \"-%s\"", option->opt_text);
- return 1;
- }
-
switch (code)
{
default: