I get the following ICE when building newlib with an m68hc11-elf cross compiler.

/usr/src/redhat/BUILD/gcc-4.0.0/obj-m68hc11-elf/gcc/xgcc
-B/usr/src/redhat/BUILD/gcc-4.0.0/obj-m68hc11-elf/gcc/ -nostdinc
-B/usr/src/redh\at/BUILD/gcc-4.0.0/obj-m68hc11-elf/m68hc11-elf/mshort/newlib/
-isystem
/usr/src/redhat/BUILD/gcc-4.0.0/obj-m68hc11-elf/m68hc11-elf/mshort/newlib/targ-include
-isystem /usr/src/redhat/BUILD/gcc-4.0.0/newlib/libc/include
-B/usr/m68hc11-elf/bin/ -B/usr/m68hc11-elf/lib/ -isystem
/usr/m68hc11-elf/include -isystem /usr/m68hc11-elf/sys-include  -mshort
-DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\"  -I.
-I../../../../..\/../newlib/libc/stdio  -DPREFER_SIZE_OVER_SPEED -Os -mrelax
-DNO_EXEC -DABORT_PROVIDED -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES -fno-builtin 
    -O2 -g -O2  -mshort -c ../../../../../../newlib/libc/stdio/vfscanf.c
../../../../../../newlib/libc/stdio/vfprintf.c: In function '_vfprintf_r':
../../../../../../newlib/libc/stdio/vfprintf.c:1221: error: insn does not
satisfy its constraints:
(insn 4215 146 4213 14 ../../../../../../newlib/libc/stdio/vfprintf.c:555
(parallel [
            (set (reg:DF 14 *_.d1)
                (mem/s/u:DF (symbol_ref:HI ("C.1.2987") <var_decl 0xf6e0f870
C.1>) [74 C.1+0 S8 A8]))
            (clobber (scratch:HI))
        ]) 18 {movdf_internal} (nil)
    (nil))
../../../../../../newlib/libc/stdio/vfprintf.c:1221: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: ICE: in reload_cse_simplify_operands, at
                    postreload.c:391
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: green at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m68hc11-elf


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

Reply via email to