diff options
author | Richard Stallman <rms@gnu.org> | 1993-06-07 03:41:21 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-06-07 03:41:21 +0000 |
commit | e1027c772e23988b31f4e3cb6c0346c2cd5f2511 (patch) | |
tree | 54c0fd4b16fdaf558fde60481f328fdeaebe32d2 | |
parent | e287a52ca0ae47fcd3aa242a85d07de91727839f (diff) | |
download | gcc-e1027c772e23988b31f4e3cb6c0346c2cd5f2511.zip gcc-e1027c772e23988b31f4e3cb6c0346c2cd5f2511.tar.gz gcc-e1027c772e23988b31f4e3cb6c0346c2cd5f2511.tar.bz2 |
(translate_options): Don't assume option_map[j].arg_info != 0.
From-SVN: r4644
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -752,7 +752,8 @@ translate_options (argcp, argvp) else continue; } - else if (index (option_map[j].arg_info, '*') != 0) + else if (option_map[j].arg_info != 0 + && index (option_map[j].arg_info, '*') != 0) error ("Incomplete `%s' option", option_map[j].name); /* Handle arguments. */ |