Successful fixincludes on i686-pc-linux-gnu (but not on m68k-next-nextstep3)
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sun Feb 13 18:22:00 GMT 2000
> 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
More information about the Gcc
mailing list