diff options
author | Devang Patel <dpatel@apple.com> | 2004-08-17 22:11:54 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2004-08-17 22:11:54 +0000 |
commit | 660d3b2fd1b4032ac49c8221c1fd5a5f57c962d4 (patch) | |
tree | 80b14adc85a1b1f985a20dba7fe9b065d731e26f /gcc/config/darwin-driver.c | |
parent | 916c7e8531865815e1b29441993541ff7d05e4ce (diff) |
Radar 3757693. Reviewed by Mike Stump.
* config/darwin-driver.c (main): Do not handle -x separately.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-ppc-branch@86153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin-driver.c')
-rw-r--r-- | gcc/config/darwin-driver.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/config/darwin-driver.c b/gcc/config/darwin-driver.c index 1e1dd4d0c14..12804153653 100644 --- a/gcc/config/darwin-driver.c +++ b/gcc/config/darwin-driver.c @@ -841,18 +841,6 @@ main (int argc, const char **argv) new_argv[new_argc++] = argv[i]; /* Now copy this flag's arguments, if any, appropriately. */ - if (c == 'x') - { - if (p[1] == 0 && i + 1 == argc) - fatal ("argument to `-x` is missing"); - - if (p[1] == 0) - { - i++; - new_argv[new_argc++] = argv[i]; - } - } - if ((SWITCH_TAKES_ARG (c) > (p[1] != 0)) || WORD_SWITCH_TAKES_ARG (p)) { |