Commit 010b2043 by Jie Zhang Committed by Jie Zhang

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
parent 5ab72741
2006-11-07 Jie Zhang <jie.zhang@analog.com>
* gcc.c (process_command): Treat -b as normal switch if its argument
has no dash.
2006-11-07 David Ung <davidu@mips.com> 2006-11-07 David Ung <davidu@mips.com>
* config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the * config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the
......
...@@ -3744,7 +3744,10 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" ...@@ -3744,7 +3744,10 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
switch (c) switch (c)
{ {
case 'b': case 'b':
if (NULL == strchr(argv[i] + 2, '-')) break; if (NULL == strchr(argv[i] + 2, '-'))
goto normal_switch;
/* Fall through. */
case 'V': case 'V':
fatal ("'-%c' must come at the start of the command line", c); fatal ("'-%c' must come at the start of the command line", c);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment