diff options
author | Jie Zhang <jie.zhang@analog.com> | 2006-11-07 14:24:58 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2006-11-07 14:24:58 +0000 |
commit | 010b2043b094449c1d89d07da6e20bbfafd0f0e7 (patch) | |
tree | 10ea36fc884ac700155b36197b243a15f18e0b2c /gcc/gcc.c | |
parent | 5ab727410aef535793986cf78e34fac2dffa8ede (diff) | |
download | gcc-010b2043b094449c1d89d07da6e20bbfafd0f0e7.zip gcc-010b2043b094449c1d89d07da6e20bbfafd0f0e7.tar.gz gcc-010b2043b094449c1d89d07da6e20bbfafd0f0e7.tar.bz2 |
gcc.c (process_command): Treat -b as normal switch if its argument has no dash.
* gcc.c (process_command): Treat -b as normal switch if its argument
has no dash.
From-SVN: r118547
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3744,7 +3744,10 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" switch (c) { case 'b': - if (NULL == strchr(argv[i] + 2, '-')) break; + if (NULL == strchr(argv[i] + 2, '-')) + goto normal_switch; + + /* Fall through. */ case 'V': fatal ("'-%c' must come at the start of the command line", c); break; |