This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: x86-64 related patch breaks cygwin bootstrap
- To: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>, gcc-patches at gcc dot gnu dot org
- Subject: Re: x86-64 related patch breaks cygwin bootstrap
- From: Jan Hubicka <jh at suse dot cz>
- Date: Tue, 16 Oct 2001 16:49:41 +0200
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>, "'bo at suse dot co dot uk'" <bo at suse dot co dot uk>, "'aj at suse dot de'" <aj at suse dot de>, "'jh at suse dot cz'" <jh at suse dot cz>
- References: <8D00C32549556B4E977F81DBC24E985D40FF93@crtsmail1.technol_exch.corp.riotinto.org>
> gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-p
> rototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H
> -DCYGWIN_CRO
> SS_DIR=\"/tmp/i686-pc-cygwin\" -I. -I. -I/usr/local/src/gcc-junk/gcc
> -I/usr/loca
> l/src/gcc-junk/gcc/. -I/usr/local/src/gcc-junk/gcc/config
> -I/usr/local/src/gcc-j
> unk/gcc/../include /usr/local/src/gcc-junk/gcc/varasm.c -o varasm.o
> /usr/local/src/gcc-junk/gcc/varasm.c: In function `assemble_integer':
> /usr/local/src/gcc-junk/gcc/varasm.c:1936: `ASM_QUAD' undeclared (first use
> in t
> his function)
> /usr/local/src/gcc-junk/gcc/varasm.c:1936: (Each undeclared identifier is
> report
> ed only once
> /usr/local/src/gcc-junk/gcc/varasm.c:1936: for each function it appears in.)
> /usr/local/src/gcc-junk/gcc/varasm.c: At top level:
> /usr/local/src/gcc-junk/gcc/varasm.c:5008: warning:
Hi,
this patch adds the ASM_QUAD define whenever the ASM_LONG is defined,
so it should avoid the compilation failures on targets that do not include
att.h
I will make the patch to avoid ASM_OUTPUT_LONG_DOUBLE on 32bit compilation
by dropping it into target vector as soon as I will get around the other
bugs that cumulated over last week.
Bootstrapped i386.
Honza
Tue Oct 16 16:45:48 CEST 2001 Jan Hubicka <jh@suse.cz>
* att.h (ASM_QUAD): Add comment.
* bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
Index: att.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/att.h,v
retrieving revision 1.8
diff -c -3 -i -r1.8 att.h
*** att.h 2001/10/02 10:59:38 1.8
--- att.h 2001/10/16 14:45:31
***************
*** 32,38 ****
#define ASM_SHORT "\t.value\t"
#define ASM_LONG "\t.long\t"
! #define ASM_QUAD "\t.quad\t"
/* How to output an ASCII string constant. */
--- 32,38 ----
#define ASM_SHORT "\t.value\t"
#define ASM_LONG "\t.long\t"
! #define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
/* How to output an ASCII string constant. */
Index: bsd.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/bsd.h,v
retrieving revision 1.5
diff -c -3 -i -r1.5 bsd.h
*** bsd.h 2001/05/20 19:54:04 1.5
--- bsd.h 2001/10/16 14:45:31
***************
*** 43,48 ****
--- 43,49 ----
#define ASM_BYTE_OP "\t.byte\t"
#define ASM_SHORT "\t.word\t"
#define ASM_LONG "\t.long\t"
+ #define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
/* Output at beginning of assembler file.
??? I am skeptical of this -- RMS. */
Index: sco5.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/sco5.h,v
retrieving revision 1.51
diff -c -3 -i -r1.51 sco5.h
*** sco5.h 2001/09/11 16:49:58 1.51
--- sco5.h 2001/10/16 14:45:35
***************
*** 59,64 ****
--- 59,67 ----
#undef ASM_LONG
#define ASM_LONG "\t.long\t"
+ #undef ASM_QUAD
+ #define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
+
#undef TYPE_ASM_OP
#define TYPE_ASM_OP "\t.type\t"
Index: sun386.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/sun386.h,v
retrieving revision 1.8
diff -c -3 -i -r1.8 sun386.h
*** sun386.h 2001/05/20 19:54:04 1.8
--- sun386.h 2001/10/16 14:45:35
***************
*** 36,41 ****
--- 36,43 ----
#define ASM_BYTE_OP "\t.byte\t"
#define ASM_SHORT "\t.value\t"
#define ASM_LONG "\t.long\t"
+ #define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
+
/* How to output an ASCII string constant. */