aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorDevang Patel <dpatel@gcc.gnu.org>2003-03-10 17:25:12 -0800
committerDevang Patel <dpatel@gcc.gnu.org>2003-03-10 17:25:12 -0800
commit8c124730401c786b80a9a5027afe1eeb7fd2a968 (patch)
treef1af1d509c46118f54d8250463855f160652c8a3 /gcc/gcc.c
parent3c6a9be30f0b6bce7339ea8faaf732652858e4d0 (diff)
downloadgcc-8c124730401c786b80a9a5027afe1eeb7fd2a968.zip
gcc-8c124730401c786b80a9a5027afe1eeb7fd2a968.tar.gz
gcc-8c124730401c786b80a9a5027afe1eeb7fd2a968.tar.bz2
Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix. From-SVN: r64156
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 1aa0252..941343a 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3142,11 +3142,8 @@ process_command (argc, argv)
/* If there is a -V or -b option (or both), process it now, before
trying to interpret the rest of the command line. */
- /* Use heuristic that all configuration names must have at least one dash '-'.
- This allows to pass options that start with -b. */
if (argc > 1 && argv[1][0] == '-'
- && (argv[1][1] == 'V'
- || (argv[1][1] == 'b' && strchr (argv[1] + 2, '-') != NULL)))
+ && (argv[1][1] == 'V' || argv[1][1] == 'b'))
{
const char *new_version = DEFAULT_TARGET_VERSION;
const char *new_machine = DEFAULT_TARGET_MACHINE;