This is the mail archive of the gcc-bugs@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]

Fix mmix to bootstrap again


With current CVS I tried to crosscompile from i686-linux-gnu to mmix.
Unfortunatly this aborts with:

gcc -c -DIN_GCC -DCROSS_COMPILE   -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional   -DHAVE_CONFIG_H    -I. -I. -I/mmix/mmix/sources/combined/gcc -I/mmix/mmix/sources/combined/gcc/. -I/mmix/mmix/sources/combined/gcc/config -I/mmix/mmix/sources/combined/gcc/../include \
        /mmix/mmix/sources/combined/gcc/config/mmix/mmix.c -o mmix.o
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:102: conflicting types for `mmix_init_machine_status'
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:101: previous declaration of `mmix_init_machine_status'
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c: In function `mmix_init_expanders':
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:166: warning: assignment from incompatible pointer type
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c: At top level:
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:173: conflicting types for `mmix_init_machine_status'
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:102: previous declaration of `mmix_init_machine_status'
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c: In function `mmix_print_operand_address':
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:2356: warning: comparison between signed and unsigned
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:2374: warning: comparison between signed and unsigned
/mmix/mmix/sources/combined/gcc/config/mmix/mmix.c:2379: warning: comparison between signed and unsigned
make[1]: *** [mmix.o] Error 1
make[1]: Leaving directory `/mmix/mmix/build/gcc'

This is a fallout from the PCH merge.

The appended patch fixes this, I'm committing it as obvious,

Andreas

2002-06-07  Andreas Jaeger  <aj@suse.de>

	* config/mmix/mmix.c: Remove extra broken prototype for
	mmix_init_machine_status.

============================================================
Index: gcc/config/mmix/mmix.c
--- gcc/config/mmix/mmix.c	4 Jun 2002 07:09:18 -0000	1.30
+++ gcc/config/mmix/mmix.c	7 Jun 2002 05:20:20 -0000
@@ -99,7 +99,6 @@ static HOST_WIDEST_INT mmix_intval PARAM
 static void mmix_output_octa PARAMS ((FILE *, HOST_WIDEST_INT, int));
 static bool mmix_assemble_integer PARAMS ((rtx, unsigned int, int));
 static struct machine_function * mmix_init_machine_status PARAMS ((void));
-static void mmix_init_machine_status PARAMS ((struct function *));
 static void mmix_encode_section_info PARAMS ((tree, int));
 static const char *mmix_strip_name_encoding PARAMS ((const char *));
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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