This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Successful fixincludes on i686-pc-linux-gnu (but not on m68k-next-nextstep3)
- To: zack at wolery dot cumb dot org
- Subject: Re: Successful fixincludes on i686-pc-linux-gnu (but not on m68k-next-nextstep3)
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 13 Feb 2000 21:22:12 -0500 (EST)
- Cc: gcc at gcc dot gnu dot org, toon at moene dot indiv dot nluug dot nl
> 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