projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173c634
)
(main): Recover correctly from invalid -Wid-clash option.
author
Richard Stallman
<rms@gnu.org>
Wed, 7 Oct 1992 08:03:02 +0000
(08:03 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 7 Oct 1992 08:03:02 +0000
(08:03 +0000)
From-SVN: r2349
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index 68279c7076529f15737802ab97060bc1b1619932..9610b881c288db3a0067988ad89fb28137ece402 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]);