projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d273bf
)
(main): Remove last change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 18 Dec 1995 13:00:03 +0000
(08:00 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 18 Dec 1995 13:00:03 +0000
(08:00 -0500)
From-SVN: r10796
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index a8bbe45e34b0188b289de8afdba0e09cbfebe17f..db70772890acda2abffbecee64abac283aff9921 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-3421,7
+3421,8
@@
main (argc, argv, envp)
/* If this is a language-specific option,
decode it in a language-specific way. */
for (j = 0; lang_options[j] != 0; j++)
- if (!strcmp (argv[i], lang_options[j]))
+ if (!strncmp (argv[i], lang_options[j],
+ strlen (lang_options[j])))
break;
if (lang_options[j] != 0)
/* If the option is valid for *some* language,