Wrong code generated for Hitachi SH, and compilation problems with recent snapshots

Michael Schwingen michaels@stochastik.rwth-aachen.de
Tue Apr 11 02:41:00 GMT 2000


On Wed, Mar 22, 2000 at 04:53:39PM +0000, Joern Rennecke wrote:
> There was no 20000230 snapshot (or a 30th Febuary, for that matter), so
> don't know what you did try to compile that failed.  At any rate, I've
> recently applied a patch to reload to fix a bug like the one you have seen:
> 
> Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
> 
>         * reload1.c (reload_combine_note_use): Handle return register USEs.
>         REG case: Handle multi-hard-register hard regs.

OK, I found time to check the current snapshots today:
20000320, 20000327 both give this result when building a sh-coff cross
compiler:

make[4]: Entering directory /usr/src/gnu/build-sh-coff/gcc'
/usr/src/gnu/build-sh-coff/gcc/xgcc -B/usr/src/gnu/build-sh-coff/gcc/
-B/opt/cgc
c/sh-coff/bin/ -I/opt/cgcc/sh-coff/include -O2  -DCROSS_COMPILE -DIN_GCC
-g -
O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-g 
-O2 -I. -I../../src/gcc -I../../src/gcc/config -I../../src/gcc/../include \
  -c ../../src/gcc/cp/tinfo.cc
../../src/gcc/cp/tinfo.cc: In method ad_cast::bad_cast ()':
../../src/gcc/cp/tinfo.cc:1135: Internal compiler error.
../../src/gcc/cp/tinfo.cc:1135: Please submit a full bug report.
../../src/gcc/cp/tinfo.cc:1135: See
../../src/gcc/cp/tinfo.cc:1135: <URL: http://www.gnu.org/software/gcc/bugs.html >
../../src/gcc/cp/tinfo.cc:1135: for instructions.




20000403 gives this:

_fixunssfsi
../../src/gcc/libgcc2.c: In function _fixunssfsi':
../../src/gcc/libgcc2.c:1026: Insn does not satisfy its constraints:
(insn 59 55 4 (set (reg:SI 0 r0)
        (reg:SI 28 fr4)) 123 {movsi_ie} (nil)
    (nil))
../../src/gcc/libgcc2.c:1026: Internal compiler error in
eload_cse_simplify_op
erands', at reload1.c:8130
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.


20000410 gives this:

/usr/src/gnu/build-sh-coff/gcc/xgcc -B/usr/src/gnu/build-sh-coff/gcc/
-B/usr/src
/gnu/build-sh-coff/sh-coff/newlib/ -B/opt/cgcc/sh-coff/bin/ -idirafter
/usr/src/
gnu/build-sh-coff/sh-coff/newlib/targ-include -idirafter
/usr/src/gnu/src/newlib
/libc/include -nostdinc -c -DHAVE_CONFIG_H -g -O2  -m3e -I.
-I../../../../src/li
biberty/../include  -W -Wall -Wtraditional
../../../../src/libiberty/floatformat
.c
xgcc: Internal compiler error: program cc1 got fatal signal 11


(sorry for the line breaks, I can only get the messages here by
cut-and-paste).

cu
Michael
-- 
In the beginning there was nothing, which exploded.


More information about the Gcc mailing list