This is the mail archive of the gcc@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: Successful fixincludes on i686-pc-linux-gnu (but not on m68k-next-nextstep3)


 > From: Zack Weinberg <zack@wolery.cumb.org>
 > 
 > Argh.  Please try this patch.
 > zw
 > 
 > ===================================================================
 > Index: cpplib.c
 > --- cpplib.c	2000/02/11 20:17:27	1.114
 > +++ cpplib.c	2000/02/13 19:34:15
 > @@ -715,8 +715,9 @@ do_define (pfile, keyword)
 >        if (hp->type != T_POISON)
 >  	{
 >  	  /* Replace the old definition.  */
 > +	  if (hp->type == T_MACRO)
 > +	    free_definition (hp->value.defn);
 >  	  hp->type = T_MACRO;
 > -	  free_definition (hp->value.defn);
 >  	  hp->value.defn = mdef.defn;
 >  	}
 >      }

Works for me.  Thanks!  SunOS4 now gets past fixproto/fix-header in
stage1.

The entire 3-stage bootstrap will take all night, but I'm pretty sure
you got this one.

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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