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]
Other format: [Raw text]

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


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


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