projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6e68c
)
(print_switch_values): Ignore -o.
author
Doug Evans
<dje@gnu.org>
Fri, 17 May 1996 19:55:44 +0000
(19:55 +0000)
committer
Doug Evans
<dje@gnu.org>
Fri, 17 May 1996 19:55:44 +0000
(19:55 +0000)
From-SVN: r12014
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index 8b084d3cd1ef166fc7cd83a7f3043de95b6d251d..5d5eb45ac1f48b12c69e46856bfb745df16eb40d 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-4141,10
+4141,16
@@
print_switch_values (file, pos, max, indent, sep, term)
pos = print_single_switch (file, pos, max, indent, *indent ? " " : "", term,
"options passed: ", "");
- for (p = &save_argv[1]; *p !=
(char *)0
; p++)
+ for (p = &save_argv[1]; *p !=
NULL
; p++)
if (**p == '-')
{
/* Ignore these. */
+ if (strcmp (*p, "-o") == 0)
+ {
+ if (p[1] != NULL)
+ p++;
+ continue;
+ }
if (strcmp (*p, "-quiet") == 0)
continue;
if (strcmp (*p, "-version") == 0)