This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to config/i386/cygwin.h breaks 3.0 branch bootstrap
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Subject: Re: Patch to config/i386/cygwin.h breaks 3.0 branch bootstrap
- From: "'cgf at cygnus dot com'" <cgf at cygnus dot com>
- Date: Wed, 14 Mar 2001 23:39:58 -0500
- Cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- References: <8D00C32549556B4E977F81DBC24E985DC73A@crtsmail1.technol_exch.corp.riotinto.org>
On Thu, Mar 15, 2001 at 03:18:24AM -0000, Billinghurst, David (CRTS) wrote:
>Sat Mar 10 17:52:54 2001 Christopher Faylor <cgf@cygnus.com>
>
> * config/i386/cygwin.h: Make ../w32api a system directory.
>Reorganize
> mingw includes slightly.
>
>prevents the 3.0 branch from bootstrapping on cygwin, as the stage2 compiler
>cannot compile f/top.c. The identical patch on the head works. I can now
>add a few details.
Hmm. I probably screwed up by just copying the cygwin.h file from the trunk
to the branch. I thought I checked for just white space differences but I
think I missed the below.
Does this solve your problem by any chance?
cgf
Wed Mar 14 23:39:09 2001 Christopher Faylor <cgf@cygnus.com>
* config/i386/cygwin.h: Revert previously misapplied patch which
eliminated TARGET_SUBTARGET_DEFAULT.
Index: cygwin.h
===================================================================
RCS file: /cvs/uberbaum/gcc/config/i386/cygwin.h,v
retrieving revision 1.33.2.2
diff -u -p -r1.33.2.2 cygwin.h
--- cygwin.h 2001/03/11 01:03:40 1.33.2.2
+++ cygwin.h 2001/03/15 04:37:56
@@ -393,9 +393,9 @@ do { \
/* By default, target has a 80387, uses IEEE compatible arithmetic,
and returns float values in the 387 and needs stack probes */
-#undef TARGET_SUBTARGET_DEFAULT
+#undef TARGET_DEFAULT
-#define TARGET_SUBTARGET_DEFAULT \
+#define TARGET_DEFAULT \
(MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_STACK_PROBE)
/* This is how to output an assembler line