This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "Could not find a spill register"
- To: frichard at bbn dot com
- Subject: Re: "Could not find a spill register"
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 31 Oct 1998 03:07:34 -0700
- cc: rth at cygnus dot com, egcs at cygnus dot com, cquillen at bbn dot com
- Reply-To: law at cygnus dot com
In message <199805011708.NAA28913@bbn.com>you write:
> >> We must have the preprocessed input file in order to be able to
> >> re-create the problem. If the example can be stripped down, that
> >> is great, but not absolutely necessary.
>
> Sorry, I don't have time to strip it down. Here you go:
>
> %> gcc -v -save-temps -mcpu=ultrasparc -imacros /d4m/ws/BYBROOT.new/include
> /BybRad-macros.h -funsigned-char -fno-exceptions -o obj.sun4sol/e_quant.od
> -c -DDEBUG -UTESTING -Wall -ggdb -O -I/d4m/ws/BYBROOT.new/include -I../..
> /lib/byblos e_quant.c
> Reading specs from /d4mutl/bybrad/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2
> .90.27/specs
> gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
> /d4mutl/bybrad/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.27/cpp -lang-c
> -v -I/d4m/ws/BYBROOT.new/include -I../../lib/byblos -undef -D__GNUC__=2 -D
> __GNUC_MINOR__=90 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__
> sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(un
> ix) -Asystem(svr4) -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -ggdb -Wall -D__sparc
> _v9__ -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DDEBUG -UTESTING
> -imacros /d4m/ws/BYBROOT.new/include/BybRad-macros.h e_quant.c e_quant.i
> GNU CPP version egcs-2.90.27 980315 (egcs-1.0.2 release) (sparc)
> #include "..." search starts here:
> #include <...> search starts here:
> /d4m/ws/BYBROOT.new/include
> ../../lib/byblos
> /usr/local/include
> /d4mutl/bybrad/sparc-sun-solaris2.5.1/include
> /d4mutl/bybrad/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.27/include
> /usr/include
> End of search list.
> /d4mutl/bybrad/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.90.27/cc1 e_quant
> .i -quiet -dumpbase e_quant.c -mcpu=ultrasparc -ggdb -O -Wall -version -fun
> signed-char -fno-exceptions -o e_quant.s
> GNU C version egcs-2.90.27 980315 (egcs-1.0.2 release) (sparc-sun-solaris2.
> 5.1) compiled by GNU C version 2.7.2.1.
> e_quant.c: In function `main':
> e_quant.c:599: warning: int format, time_t arg (arg 2)
> e_quant.c:634: Could not find a spill register
> (insn:HI 1965 1963 2537 (parallel[
> (set (mem:SI (plus:SI (reg:SI 30 %fp)
> (const_int -13720)))
> (div:SI (mem:SI (plus:SI (reg:SI 30 %fp)
> (const_int -13720)))
> (const_int 60)))
> (clobber (scratch:SI))
> ] ) 245 {divsi3} (insn_list 1962 (nil))
> (expr_list:REG_UNUSED (scratch:SI)
> (nil)))
> gcc: Internal compiler error: program cc1 got fatal signal 6
> %>
This was fixed in egcs-1.1.
jeff