"Could not find a spill register"

Fred Richardson frichard@bbn.com
Thu Apr 30 10:25:00 GMT 1998


Hi-

I've run into the following compile time error with egcs-1.0.2 on
sparc-sun-solaris2.5.1.  The problem goes away when I take out the -O
flag.  Conversely, everthing works fine when I compile optimized
without the -Wall or -ggdb flags.  Please let me know if you need any
more information to track this down.

        Thanks,

            -Fred


  %> 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(unix) -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 -funsigned-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
  %>




More information about the Gcc mailing list