* gcc.c (process_command): Set switches[n_switches].ordering to 0.

From-SVN: r38834
This commit is contained in:
Mark Elbrecht 2001-01-09 16:35:53 +00:00 committed by DJ Delorie
parent e582248c93
commit 9c1fcbfbb6
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-01-09 Mark Elbrecht <snowball3@bigfoot.com>
* gcc.c (process_command): Set switches[n_switches].ordering to 0.
2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk> 2001-01-09 Neil Booth <neil@daikokuya.demon.co.uk>
* cppinit.c (OPT_MD, OPT_MMD): Restore. * cppinit.c (OPT_MD, OPT_MMD): Restore.

View File

@ -3774,6 +3774,7 @@ process_command (argc, argv)
switches[n_switches].live_cond = SWITCH_OK; switches[n_switches].live_cond = SWITCH_OK;
switches[n_switches].validated = 0; switches[n_switches].validated = 0;
switches[n_switches].ordering = 0;
/* These are always valid, since gcc.c itself understands it. */ /* These are always valid, since gcc.c itself understands it. */
if (!strcmp (p, "save-temps") if (!strcmp (p, "save-temps")
|| !strcmp (p, "static-libgcc") || !strcmp (p, "static-libgcc")