m68k compiler does not build

Matthias Klose doko@cs.tu-berlin.de
Sat May 22 01:17:00 GMT 2004


Ian Lance Taylor writes:
> So I propose this patch.  This at least lets the m68k compiler build.
> Even if approved, I'll run the m68k compiler tests before checking
> this in, but I don't have any way to do any further testing.
> 
> Ian
> 
> 
> 2004-05-13  Ian Lance Taylor  <ian@wasabisystems.com>
> 
> 	* system.h: Poison NO_RECURSIVE_FUNCTION_CSE.
> 	* calls.c (prepare_call_address): Don't test
> 	NO_RECURSIVE_FUNCTION_CSE.
> 	* config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define.
> 	* config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE):
> 	Likewise.
> 	* config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise.
> 	* config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment.
> 	* doc/tm.texi (Costs): Remove documentation for
> 	NO_RECURSIVE_FUNCTION_CSE.

on m68k-linux with this patch and CVS 20040520 I get until

stage1/xgcc -Bstage1/ -B/usr/lib/gcc-snapshot/m68k-linux/bin/ -c   -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -fno-common   -DHAVE_CONFIG_H    -I. -Ifortran -I../../src/gcc -I../../src/gcc/fortran -I../../src/gcc/../include -I../../src/gcc/../libbanshee/libcompat -I../../src/gcc/../libbanshee -I../../src/gcc/../libbanshee/points-to  ../../src/gcc/fortran/io.c -o fortran/io.o
../../src/gcc/fortran/io.c:34: warning: excess elements in struct initializer
../../src/gcc/fortran/io.c:34: warning: (near initialization for `format_asterisk.where')
../../src/gcc/fortran/io.c:34: warning: excess elements in struct initializer
../../src/gcc/fortran/io.c:34: warning: (near initialization for `format_asterisk.where')
../../src/gcc/fortran/io.c: In function `match_filepos':
../../src/gcc/fortran/io.c:1337: error: unrecognizable insn:
(insn 219 179 66 7 (set (strict_low_part (reg:QI 1 %d1))
        (const_int 1 [0x1])) -1 (nil)
    (nil))
../../src/gcc/fortran/io.c:1337: internal compiler error: in extract_insn, at recog.c:2068
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [fortran/io.o] Error 1



More information about the Gcc-patches mailing list