This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DJGPP bootstrap fix


> Hi guys,
> I found out why the bootstrap was failing. It turns out some uninitialized 
> memory was causing the trouble.

Let's try this again...

gcc/ChangeLog

2001-01-09  Mark Elbrecht  <snowball3@bigfoot.com>

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

Index: gcc/gcc/gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.196
diff -c -p -r1.196 gcc.c
*** gcc.c	2001/01/08 18:52:09	1.196
--- gcc.c	2001/01/09 15:11:18
*************** process_command (argc, argv)
*** 3774,3779 ****
--- 3774,3780 ----
  
  	  switches[n_switches].live_cond = SWITCH_OK;
  	  switches[n_switches].validated = 0;
+           switches[n_switches].ordering = 0;
  	  /* These are always valid, since gcc.c itself understands it.  */
  	  if (!strcmp (p, "save-temps")
  	      || !strcmp (p, "static-libgcc")


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]