Patch installed for more target warnings

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Sun Nov 4 14:59:00 GMT 2001


Another batch of warning fixes from my target farm.  These are all
obvious by inspection except for a couple of cases in config.gcc.

The m680[02]0-*-* change was needed to support m68020-*-elf (or else
configure will think your .md file is m68020.md.)

The i960-*-* change was necessary in order to have a Makefile rule to
build i960-c.o.

I installed this batch as "obvious" after cross compiling cc1 from
solaris2.7 to the following targets.

Note, not all targets currently succeed, this is the list I culled out
of config.gcc and I use it to verify that hopefully none regressed due
to the patch.  In particular, the m68k and convex directories are
hosed at the moment due to the patch which removed CONST_DOUBLE_MEM
and didn't propagate downward into config.  The other failures look
like bitrot which I'm slowly trying to fix.

		--Kaveh

1750a-unknown-elf a29k-unknown-coff a29k-unknown-elf
a29k-unknown-rtems a29k-unknown-sym1 a29k-wrs-vxworks alpha-dec-osf1
alpha-dec-osf2 alpha-dec-osf4.0a alpha-dec-osf4.0b alpha-dec-osf4.1
alpha-dec-osf5 alpha-dec-vms alpha-unknown-freebsd5
alpha-unknown-interix alpha-unknown-linux-gnu alpha-unknown-netbsd
alpha-unknown-openbsd alpha-unknown-unicosmk alpha-unknown-vxworks
arc-unknown-elf arm-semi-aof arm-semi-aout arm-unknown-aout
arm-unknown-coff arm-unknown-conix arm-unknown-elf
arm-unknown-linux-gnu arm-unknown-netbsd arm-unknown-oabi
arm-unknown-pe arm-unknown-riscix arm-unknown-riscix1.0
arm-unknown-rtems arm-unknown-vxworks avr-unknown-elf c1-convex-elf
c2-convex-elf c32-convex-elf c34-convex-elf c38-convex-elf
c4x-unknown-elf c4x-unknown-rtems clipper-intergraph-clix
cris-unknown-aout cris-unknown-elf cris-unknown-linux-gnu
d30v-unknown-elf dsp16xx-unknown-elf elxsi-elxsi-elf fr30-unknown-elf
h8300-unknown-aout h8300-unknown-elf h8300-unknown-rtems
hppa1.0-hp-hpux hppa1.0-hp-hpux10 hppa1.0-hp-hpux11 hppa1.0-hp-hpux7
hppa1.0-hp-hpux8 hppa1.0-hp-hpux8.02 hppa1.0-unknown-bsd
hppa1.0-unknown-hiux hppa1.0-unknown-linux-gnu hppa1.0-unknown-lites
hppa1.0-unknown-osf hppa1.1-hp-hpux hppa1.1-hp-hpux10
hppa1.1-hp-hpux11 hppa1.1-hp-hpux8 hppa1.1-hp-hpux8.02
hppa1.1-unknown-bsd hppa1.1-unknown-hiux hppa1.1-unknown-osf
hppa1.1-unknown-proelf hppa1.1-unknown-rtems hppa64-hp-hpux11
hppa64-unknown-linux-gnu i370-unknown-linux-gnu i370-unknown-mvs
i370-unknown-opened i386-dg-dgux i386-go32-rtems i386-ibm-aix
i386-moss-msdos i386-ncr-sysv4 i386-pc-msdosdjgpp i386-sequent-bsd
i386-sequent-ptx1 i386-sequent-ptx2 i386-sequent-ptx4 i386-sun-sunos
i386-unknown-aout i386-unknown-beoself i386-unknown-bsd
i386-unknown-bsdi i386-unknown-coff i386-unknown-elf
i386-unknown-freebsd2 i386-unknown-freebsd4 i386-unknown-gnu
i386-unknown-interix i386-unknown-isc i386-unknown-linux-gnu
i386-unknown-lynxos i386-unknown-mach i386-unknown-mingw32
i386-unknown-netbsd i386-unknown-netbsdelf i386-unknown-netware
i386-unknown-openbsd i386-unknown-osf1 i386-unknown-osfrose
i386-unknown-pe i386-unknown-rtems i386-unknown-rtemscoff
i386-unknown-sco3.2v5 i386-unknown-solaris2.7 i386-unknown-sysv
i386-unknown-sysv4 i386-unknown-sysv5 i386-unknown-udk
i386-unknown-uwin i386-unknown-vsta i386-wrs-vxworks i860-alliant-bsd
i860-unknown-bsd i860-unknown-mach i860-unknown-osf i860-unknown-sysv3
i860-unknown-sysv4 i960-unknown-coff i960-unknown-elf
i960-unknown-rtems i960-wrs-vxworks4 i960-wrs-vxworks5
i960-wrs-vxworks5.1 ia64-unknown-aix ia64-unknown-elf
ia64-unknown-hpux ia64-unknown-linux-gnu m32r-unknown-elf
m68000-att-sysv m68000-convergent-sysv m68000-hp-bsd m68000-hp-hpux
m68000-sun-sunos3 m68000-sun-sunos4 m68020-unknown-elf m68k-apollo-elf
m68k-apple-aux m68k-atari-sysv4 m68k-bull-sysv m68k-cbm-sysv4
m68k-ccur-rtu m68k-crds-unos m68k-gnu-linux-gnu m68k-hp-bsd
m68k-hp-bsd4.4 m68k-hp-hpux m68k-hp-hpux7 m68k-isi-bsd
m68k-motorola-sysv m68k-ncr-sysv m68k-next-nextstep2
m68k-next-nextstep3 m68k-plexus-sysv m68k-sony-newsos
m68k-sony-newsos3 m68k-sun-mach m68k-sun-sunos m68k-sun-sunos3
m68k-tti-elf m68k-unknown-aout m68k-unknown-coff m68k-unknown-lynxos
m68k-unknown-netbsd m68k-unknown-openbsd m68k-unknown-psos
m68k-unknown-rtemscoff m68k-unknown-rtemself m68k-unknown-sysv3
m68k-unknown-sysv4 m68k-wrs-vxworks m88k-dg-dgux m88k-dolphin-sysv3
m88k-tektronix-sysv3 m88k-unknown-aout m88k-unknown-coff
m88k-unknown-luna m88k-unknown-openbsd m88k-unknown-sysv3
m88k-unknown-sysv4 mcore-unknown-elf mcore-unknown-pe mips-dec-bsd
mips-dec-osf mips-dec-osfrose mips-sgi-irix3 mips-sgi-irix4
mips-sgi-irix4loser mips-sgi-irix5 mips-sgi-irix6.5 mips-sni-sysv4
mips-sony-bsd mips-sony-sysv mips-tandem-sysv4 mips-unknown-ecoff
mips-unknown-elf mips-unknown-linux-gnu mips-unknown-openbsd
mips-unknown-riscos4 mips-unknown-riscos5 mips-unknown-riscos5bsd
mips-unknown-riscos5sysv mips-unknown-riscos5sysv4
mips-unknown-riscosbsd mips-unknown-rtems mips-unknown-sysv
mips-unknown-sysv4 mips-unknown-ultrix mips-wrs-vxworks
mips64-unknown-elf mips64el-unknown-elf mips64orion-unknown-elf
mips64orion-unknown-rtems mips64orionel-unknown-elf
mipsel-unknown-ecoff mipsel-unknown-elf mipsel-unknown-netbsd
mipsel-unknown-openbsd mipsisa32-unknown-elf mipstx39el-unknown-elf
mn10200-unknown-elf mn10300-unknown-elf ns32k-encore-bsd
ns32k-merlin-bsd ns32k-pc532-mach ns32k-pc532-minix ns32k-sequent-bsd
ns32k-tek6100-bsd ns32k-tek6200-bsd ns32k-unknown-netbsd
ns32k-unknown-openbsd pdp11-unknown-bsd pdp11-unknown-elf
powerpc-unknown-beos powerpc-unknown-darwin powerpc-unknown-eabi
powerpc-unknown-eabiaix powerpc-unknown-eabisim powerpc-unknown-elf
powerpc-unknown-linux-gnu powerpc-unknown-netbsd powerpc-unknown-rtems
powerpc-unknown-sysv powerpc-wrs-vxworks powerpc64-unknown-linux-gnu
powerpcle-unknown-eabi powerpcle-unknown-eabisim powerpcle-unknown-elf
powerpcle-unknown-solaris2 powerpcle-unknown-sysv
powerpcle-wrs-vxworks romp-unknown-aos romp-unknown-mach
romp-unknown-openbsd rs6000-bull-bosx rs6000-ibm-aix rs6000-ibm-aix3.0
rs6000-ibm-aix3.2.4 rs6000-ibm-aix4.1 rs6000-ibm-aix4.3
rs6000-ibm-aix5.0 rs6000-unknown-lynxos rs6000-unknown-mach
s390-unknown-linux-gnu s390x-unknown-linux-gnu sh-unknown-aout
sh-unknown-elf sh-unknown-linux-gnu sh-unknown-rtems
sh-unknown-rtemself sparc-hal-solaris2.4 sparc-tti-bsd
sparc-unknown-aout sparc-unknown-bsd sparc-unknown-elf
sparc-unknown-linux sparc-unknown-lynxos sparc-unknown-netbsd
sparc-unknown-openbsd sparc-unknown-rtems sparc-unknown-rtemsaout
sparc-unknown-solaris2.0 sparc-unknown-solaris2.7 sparc-unknown-sunos3
sparc-unknown-sunos4.0 sparc-unknown-sunos4.1 sparc-unknown-sysv4
sparc-unknown-vxsim sparc-wrs-vxworks sparc64-unknown-aout
sparc64-unknown-elf sparc64-unknown-linux-gnu sparc64-wrs-vxworks
sparc86x-unknown-aout sparc86x-unknown-elf sparclet-unknown-aout
sparclite-unknown-aout sparclite-unknown-coff sparclite-unknown-elf
sparcv9-unknown-solaris2.8 stormy16-unknown-elf strongarm-unknown-coff
strongarm-unknown-elf strongarm-unknown-pe v850-unknown-elf
v850-unknown-rtems vax-unknown-bsd vax-unknown-elf vax-unknown-netbsd
vax-unknown-openbsd vax-unknown-sysv vax-unknown-ultrix
vax-unknown-vms we32k-att-sysv x86_64-unknown-linux-gnu
xscale-unknown-coff xscale-unknown-elf


2001-11-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* arm/aof.h (aof_text_section, aof_data_section): Don't declare.
	(common_section): Delete unused variable.
	(ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
	(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
	* arm-protos.h (arm_poke_function_name, aof_add_import,
	aof_delete_import): Const-ify.
	* arm.c (legitimize_pic_address): Wrap variables in the macro
	controlling their usage.
	(arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
	(arm_poke_function_name, pic_chain, import, aof_add_import,
	aof_delete_import): Const-ify.
	* i386.c (ix86_osf_output_function_prologue): Const-ify.
	* i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
	ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
	* i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
	* i860/sysv3.h: Add missing comment closure.
	* m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
	* m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
	to symbolic_operand.
	
	* config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
	(i960-*-*): Set tmake_file.
	(sparc86x-*-elf*): Fix typo in header name.
	
	* sched-rgn.c (schedule_insns): Delete unused variable.

diff -rup orig/egcs-CVS20011102/gcc/config/arm/aof.h egcs-CVS20011102/gcc/config/arm/aof.h
--- orig/egcs-CVS20011102/gcc/config/arm/aof.h	Tue Sep 11 13:36:07 2001
+++ egcs-CVS20011102/gcc/config/arm/aof.h	Sat Nov  3 17:16:02 2001
@@ -52,12 +52,10 @@ Boston, MA 02111-1307, USA.  */
    two areas with the same attributes will be linked adjacently in the
    resulting executable, so we have to be careful not to do pc-relative 
    addressing across such boundaries.  */
-char *aof_text_section ();
 #define TEXT_SECTION_ASM_OP aof_text_section ()
 
 #define SELECT_RTX_SECTION(MODE,RTX,ALIGN) text_section ();
 
-char *aof_data_section ();
 #define DATA_SECTION_ASM_OP aof_data_section ()
 
 #define EXTRA_SECTIONS in_zero_init, in_common
@@ -85,7 +83,6 @@ zero_init_section ()						\
 void								\
 common_section ()						\
 {								\
-  static int common_count = 1;					\
   if (in_section != in_common)					\
     {								\
       in_section = in_common;					\
@@ -232,10 +229,10 @@ do {							\
   int i;						\
   const char *ptr = (PTR);				\
   fprintf ((STREAM), "\tDCB");				\
-  for (i = 0; i < (LEN); i++)				\
+  for (i = 0; i < (long)(LEN); i++)			\
     fprintf ((STREAM), " &%02x%s", 			\
 	     (unsigned ) *(ptr++),			\
-	     (i + 1 < (LEN)				\
+	     (i + 1 < (long)(LEN)				\
 	      ? ((i & 3) == 3 ? "\n\tDCB" : ",")	\
 	      : "\n"));					\
 }
@@ -313,7 +310,7 @@ do {					\
   fprintf ((STREAM), "|%s|", NAME)
 
 #define ASM_GENERATE_INTERNAL_LABEL(STRING,PREFIX,NUM)	\
-  sprintf ((STRING), "*|%s..%d|", (PREFIX), (NUM))
+  sprintf ((STRING), "*|%s..%ld|", (PREFIX), (long)(NUM))
 
 #define ASM_FORMAT_PRIVATE_NAME(OUTVAR,NAME,NUMBER)	\
  ((OUTVAR) = (char *) alloca (strlen ((NAME)) + 10),	\
diff -rup orig/egcs-CVS20011102/gcc/config/arm/arm-protos.h egcs-CVS20011102/gcc/config/arm/arm-protos.h
--- orig/egcs-CVS20011102/gcc/config/arm/arm-protos.h	Fri Oct 19 15:40:19 2001
+++ egcs-CVS20011102/gcc/config/arm/arm-protos.h	Sat Nov  3 17:15:02 2001
@@ -122,7 +122,7 @@ extern const char * output_add_immediate
 extern const char * arithmetic_instr	PARAMS ((rtx, int));
 extern void   output_ascii_pseudo_op	PARAMS ((FILE *, const unsigned char *, int));
 extern const char * output_return_instruction PARAMS ((rtx, int, int));
-extern void   arm_poke_function_name	PARAMS ((FILE *, char *));
+extern void   arm_poke_function_name	PARAMS ((FILE *, const char *));
 extern void   arm_print_operand		PARAMS ((FILE *, rtx, int));
 extern void   arm_print_operand_address	PARAMS ((FILE *, rtx));
 extern void   arm_final_prescan_insn	PARAMS ((rtx));
@@ -142,8 +142,8 @@ extern rtx    aof_pic_entry		PARAMS ((rt
 extern void   aof_dump_pic_table	PARAMS ((FILE *));
 extern char * aof_text_section		PARAMS ((void));
 extern char * aof_data_section		PARAMS ((void));
-extern void   aof_add_import		PARAMS ((char *));
-extern void   aof_delete_import		PARAMS ((char *));
+extern void   aof_add_import		PARAMS ((const char *));
+extern void   aof_delete_import		PARAMS ((const char *));
 extern void   aof_dump_imports		PARAMS ((FILE *));
 extern void   zero_init_section		PARAMS ((void));
 extern void   common_section		PARAMS ((void));
diff -rup orig/egcs-CVS20011102/gcc/config/arm/arm.c egcs-CVS20011102/gcc/config/arm/arm.c
--- orig/egcs-CVS20011102/gcc/config/arm/arm.c	Wed Oct 31 16:30:43 2001
+++ egcs-CVS20011102/gcc/config/arm/arm.c	Sat Nov  3 17:14:49 2001
@@ -2251,7 +2251,9 @@ legitimize_pic_address (orig, mode, reg)
 {
   if (GET_CODE (orig) == SYMBOL_REF)
     {
+#ifndef AOF_ASSEMBLER
       rtx pic_ref, address;
+#endif
       rtx insn;
       int subregs = 0;
 
@@ -2375,7 +2377,7 @@ legitimize_pic_address (orig, mode, reg)
 
 void
 arm_finalize_pic (prologue)
-     int prologue;
+     int prologue ATTRIBUTE_UNUSED;
 {
 #ifndef AOF_ASSEMBLER
   rtx l1, pic_tmp, pic_tmp2, seq, pic_rtx;
@@ -7313,7 +7315,7 @@ output_return_instruction (operand, real
 void
 arm_poke_function_name (stream, name)
    FILE * stream;
-   char * name;
+   const char * name;
 {
   unsigned long alignlength;
   unsigned long length;
@@ -10675,7 +10677,7 @@ rtx aof_pic_label = NULL_RTX;
 struct pic_chain
 {
   struct pic_chain * next;
-  char * symname;
+  const char * symname;
 };
 
 static struct pic_chain * aof_pic_chain = NULL;
@@ -10765,14 +10767,14 @@ aof_data_section ()
 struct import
 {
   struct import * next;
-  char * name;
+  const char * name;
 };
 
 static struct import * imports_list = NULL;
 
 void
 aof_add_import (name)
-     char * name;
+     const char * name;
 {
   struct import * new;
 
@@ -10788,7 +10790,7 @@ aof_add_import (name)
 
 void
 aof_delete_import (name)
-     char * name;
+     const char * name;
 {
   struct import ** old;
 
diff -rup orig/egcs-CVS20011102/gcc/config/i386/i386.c egcs-CVS20011102/gcc/config/i386/i386.c
--- orig/egcs-CVS20011102/gcc/config/i386/i386.c	Wed Oct 31 16:30:49 2001
+++ egcs-CVS20011102/gcc/config/i386/i386.c	Sat Nov  3 17:24:43 2001
@@ -1178,8 +1178,8 @@ ix86_osf_output_function_prologue (file,
      FILE *file;
      HOST_WIDE_INT size;
 {
-  char *prefix = "";
-  char *lprefix = LPREFIX;
+  const char *prefix = "";
+  const char *const lprefix = LPREFIX;
   int labelno = profile_label_no;
 
 #ifdef OSF_OS
diff -rup orig/egcs-CVS20011101/gcc/config/i386/sysv4.h egcs-CVS20011101/gcc/config/i386/sysv4.h
--- orig/egcs-CVS20011101/gcc/config/i386/sysv4.h	Fri Oct 19 19:17:59 2001
+++ egcs-CVS20011101/gcc/config/i386/sysv4.h	Thu Nov  1 22:47:02 2001
@@ -48,7 +48,7 @@ Boston, MA 02111-1307, USA.  */
 do { long value;							\
      REAL_VALUE_TO_TARGET_SINGLE ((VALUE), value);			\
      if (sizeof (int) == sizeof (long))					\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value);			\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value);		\
      else								\
          fprintf((FILE), "%s0x%lx\n", ASM_LONG, value);			\
    } while (0)
@@ -64,8 +64,8 @@ do { long value[2];							\
      REAL_VALUE_TO_TARGET_DOUBLE ((VALUE), value);			\
      if (sizeof (int) == sizeof (long))					\
        {								\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);		\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);		\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value[0]);		\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value[1]);		\
        }								\
      else								\
        {								\
@@ -81,9 +81,9 @@ do { long value[3];							\
      REAL_VALUE_TO_TARGET_LONG_DOUBLE ((VALUE), value);			\
      if (sizeof (int) == sizeof (long))					\
        {								\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[0]);		\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[1]);		\
-         fprintf((FILE), "%s0x%x\n", ASM_LONG, value[2]);		\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value[0]);		\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value[1]);		\
+         fprintf((FILE), "%s0x%x\n", ASM_LONG, (int) value[2]);		\
        }								\
      else								\
        {								\
diff -rup orig/egcs-CVS20011102/gcc/config/i860/fx2800.h egcs-CVS20011102/gcc/config/i860/fx2800.h
--- orig/egcs-CVS20011102/gcc/config/i860/fx2800.h	Fri Oct 19 19:17:59 2001
+++ egcs-CVS20011102/gcc/config/i860/fx2800.h	Sat Nov  3 10:30:29 2001
@@ -100,7 +100,8 @@ Boston, MA 02111-1307, USA.  */
    sets long & unsigned long in 18 & 19, not in 100 & 101 as shown above. */
 
 #define DBX_OUTPUT_STANDARD_TYPES(syms)	\
-{ char *dtyps[]={"", "char", "short int", "int", "logical*1",		\
+{ static const char *const dtyps[] = {					\
+	"", "char", "short int", "int", "logical*1",			\
 	"logical*2", "logical*4", "float", "double", "complex",		\
 	"doublecomplex", "character", "void", "nil", "boolean",		\
 	"unsigned char", "short unsigned int", "unsigned int",		\
diff -rup orig/egcs-CVS20011102/gcc/config/i860/sysv3.h egcs-CVS20011102/gcc/config/i860/sysv3.h
--- orig/egcs-CVS20011102/gcc/config/i860/sysv3.h	Sat Nov  3 10:28:05 2001
+++ egcs-CVS20011102/gcc/config/i860/sysv3.h	Sat Nov  3 10:06:35 2001
@@ -97,7 +97,7 @@ extern const char *current_function_orig
     fprintf ((FILE), "\t.set .,.+%u\n", (ROUNDED));	\
   } while (0)
 
-/* The routine used to output string literals.
+/* The routine used to output string literals.  */
 
 #define ASCII_DATA_ASM_OP	"\t.byte\t"
 
diff -rup orig/egcs-CVS20011102/gcc/config/m68k/apollo68.h egcs-CVS20011102/gcc/config/m68k/apollo68.h
--- orig/egcs-CVS20011102/gcc/config/m68k/apollo68.h	Thu Nov  1 16:30:35 2001
+++ egcs-CVS20011102/gcc/config/m68k/apollo68.h	Sat Nov  3 17:38:20 2001
@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA.  */
     if (TARGET_5200)				\
       return "ext%.l %0\n\tjmp %%pc@(2,%0:l)";	\
     else					\
-      return "jmp %%pc@(2,%0:w)"		\
+      return "jmp %%pc@(2,%0:w)";		\
   } while (0)
 
 /* Here are the new register names.  */
diff -rup orig/egcs-CVS20011102/gcc/config/m88k/dgux.h egcs-CVS20011102/gcc/config/m88k/dgux.h
--- orig/egcs-CVS20011102/gcc/config/m88k/dgux.h	Fri Oct 19 19:18:00 2001
+++ egcs-CVS20011102/gcc/config/m88k/dgux.h	Sat Nov  3 20:27:57 2001
@@ -298,7 +298,7 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 
 #undef SELECT_RTX_SECTION
 #define SELECT_RTX_SECTION(MODE,RTX,ALIGN)      \
 {                                               \
-  if (flag_pic && symbolic_operand (RTX))       \
+  if (flag_pic && symbolic_operand ((RTX), (MODE))) \
     data_section ();                            \
   else                                          \
     const_section ();                           \
diff -rup orig/egcs-CVS20011102/gcc/config.gcc egcs-CVS20011102/gcc/config.gcc
--- orig/egcs-CVS20011102/gcc/config.gcc	Sat Nov  3 10:28:27 2001
+++ egcs-CVS20011102/gcc/config.gcc	Sat Nov  3 20:21:09 2001
@@ -236,7 +236,7 @@ x86_64-*-*)
 hppa*-*-* | parisc*-*-*)
 	cpu_type=pa
 	;;
-m68000-*-*)
+m680[02]0-*-*)
 	cpu_type=m68k
 	;;
 mips*-*-*)
@@ -1521,6 +1523,7 @@ i960-*-rtems)
 	;;
 i960-*-*)			# Default i960 environment.
 	use_collect2=yes
+	tmake_file=i960/t-960bare
 	c_target_objs="i960-c.o"
 	cxx_target_objs="i960-c.o"
 	;;
@@ -3140,7 +3143,7 @@ sparc86x-*-aout*)
 	tmake_file=sparc/t-sp86x
 	;;
 sparc86x-*-elf*)
-	tm_file="sparc/sol2.h sparc./elf.h sparc/sp86x-elf.h"
+	tm_file="sparc/sol2.h sparc/elf.h sparc/sp86x-elf.h"
 	tmake_file=sparc/t-sp86x
         extra_parts="crtbegin.o crtend.o"
 	;;
diff -rup orig/egcs-CVS20011102/gcc/sched-rgn.c egcs-CVS20011102/gcc/sched-rgn.c
--- orig/egcs-CVS20011102/gcc/sched-rgn.c	Tue Oct 30 16:30:43 2001
+++ egcs-CVS20011102/gcc/sched-rgn.c	Sat Nov  3 17:09:48 2001
@@ -2963,8 +2963,6 @@ schedule_insns (dump_file)
       for (rgn = 0; rgn < nr_regions; rgn++)
 	if (RGN_NR_BLOCKS (rgn) == 1)
 	  {
-	    int b;
-
 	    sbitmap_zero (blocks);
 	    SET_BIT (blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
 



More information about the Gcc-patches mailing list