http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55928



             Bug #: 55928

           Summary: m32c ICE building libgcc2

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: target

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: j...@gcc.gnu.org





TARGET: m32c-rtems4.11



probably also on m32c-elf but need to confirm



xgcc (GCC) 4.8.0 20130108 (experimental) [trunk revision 195030]



/home2/joel/build/b-m32c-gcc/./gcc/xgcc -B/home2/joel/build/b-m32c-gcc/./gcc/

-nostdinc -B/home2/joel/build/b-m32c-gcc/m32c-rtems4.11/newlib/ -isystem

/home2/joel/build/b-m32c-gcc/m32c-rtems4.11/newlib/targ-include -isystem

/users/joel/test-gcc/gcc-svn/newlib/libc/include

-B/users/joel/test-gcc/install-svn/m32c-rtems4.11/bin/

-B/users/joel/test-gcc/install-svn/m32c-rtems4.11/lib/ -isystem

/users/joel/test-gcc/install-svn/m32c-rtems4.11/include -isystem

/users/joel/test-gcc/install-svn/m32c-rtems4.11/sys-include    -g -O2

-mcpu=m32cm -O2

-I/users/joel/test-gcc/gcc-svn/libgcc/../newlib/libc/sys/rtems/include -g -O2

-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual

-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem

./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector

-Dinhibit_libc  -I. -I. -I../../.././gcc -I/users/joel/test-gcc/gcc-svn/libgcc

-I/users/joel/test-gcc/gcc-svn/libgcc/.

-I/users/joel/test-gcc/gcc-svn/libgcc/../gcc

-I/users/joel/test-gcc/gcc-svn/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o

_ffssi2.o -MT _ffssi2.o -MD -MP -MF _ffssi2.dep -DL_ffssi2 -c

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c -fvisibility=hidden

-DHIDE_EXPORTS

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c: In function '__ffssi2':

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c:524:1: error: unable to find a

register to spill in class 'A_REGS'

 }

 ^

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c:524:1: error: this is the insn:

(insn 58 56 59 10 (set (reg:HI 0 r0 [orig:26 D.2813 ] [26])

        (zero_extend:HI (mem/u/j:QI (plus:PSI (subreg:PSI (reg:SI 44 [ D.2814

]) 0)

                    (symbol_ref:PSI ("__clz_tab") [flags 0x40] <var_decl

0x7fb135901ab0 __clz_tab>)) [0 __clz_tab S1 A8])))

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c:522 115 {zero_extendqihi2}

     (expr_list:REG_DEAD (reg:SI 44 [ D.2814 ])

        (nil)))

/users/joel/test-gcc/gcc-svn/libgcc/libgcc2.c:524:1: internal compiler error:

in spill_failure, at reload1.c:2122

0x85b775 _fatal_insn(char const*, rtx_def const*, char const*, int, char

const*)

    /users/joel/test-gcc/gcc-svn/gcc/rtl-error.c:110

0x85b40f spill_failure

    /users/joel/test-gcc/gcc-svn/gcc/reload1.c:2122

0x85b40f find_reload_regs

    /users/joel/test-gcc/gcc-svn/gcc/reload1.c:2048

0x85b40f select_reload_regs

    /users/joel/test-gcc/gcc-svn/gcc/reload1.c:2068

0x85b40f reload(rtx_def*, int)

    /users/joel/test-gcc/gcc-svn/gcc/reload1.c:989

0x787586 do_reload

    /users/joel/test-gcc/gcc-svn/gcc/ira.c:4636

0x787586 rest_of_handle_reload

    /users/joel/test-gcc/gcc-svn/gcc/ira.c:4737

Reply via email to