summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-11 01:25:12 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-11 01:25:12 +0000
commitbd58d49150ea48127a07d6f3b50d4c370c03d982 (patch)
treef1af1d509c46118f54d8250463855f160652c8a3
parent8a3caa30d5358507001af8612828ae24781a5034 (diff)
downloadppe42-gcc-bd58d49150ea48127a07d6f3b50d4c370c03d982.tar.gz
ppe42-gcc-bd58d49150ea48127a07d6f3b50d4c370c03d982.zip
Remove extra bits I included, by mistake, in my previous check-in
for PR/9394 fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64156 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/gcc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 1aa02528d87..941343aa743 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;
OpenPOWER on IntegriCloud