OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b423299
)
(main): Recover correctly from invalid -Wid-clash option.
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 1992 08:03:02 +0000
(08:03 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Oct 1992 08:03:02 +0000
(08:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2349
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index
68279c7
..
9610b88
100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-3021,10
+3021,14
@@
main (argc, argv, envp)
if (*endp >= '0' && *endp <= '9')
endp++;
else
- error ("Invalid option `%s'", argv[i]);
+ {
+ error ("Invalid option `%s'", argv[i]);
+ goto id_clash_lose;
+ }
}
warn_id_clash = 1;
id_clash_len = atoi (str + 10);
+ id_clash_lose: ;
}
else
error ("Invalid option `%s'", argv[i]);