[patch win]: Fix bootstrap after poising of rtl.h

Steven Bosscher stevenb.gcc@gmail.com
Fri May 28 11:23:00 GMT 2010


On Fri, May 28, 2010 at 10:04 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hi Steven,
>
> I was yesterday in hurry to make it compilable again. But patch is
> just intended as intermediate until issue is solved proper.
> Well, your patch lacks the removal of output.h header for winnt-cxx,c.
>  By removing those headers - as you suggest - I get warnings about
> 'enum machine_mode' not being defined and being an incomplete type.
> Additional the rules in t-cygming needs adjustment for header dependency.
>
> The attached patch fix things for me. Please take a look.
>
>        * config/i386/t-cygming: Adjust header dependencies for winnt-cxx.c.
>        * config/i386/winnt.c (IN_GCC_FRONTEND): Remove undefine.
>        * config/i386/winnt-cxx (IN_GCC_FRONTEND): Likewise.
>        (rtl.h, regs.h, hard-reg-set.h, output.h): Remove include.
>
> I tested all-gcc for i686-pc-cygwin, i686-pc-mingw32, and x86_64-w64-mingw32.

Yes, this looks OK to me.

Ciao!
Steven



More information about the Gcc-patches mailing list