[Bug target/20528] New: ICE on compiling vfprintf.c

namsh at kldp dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 18 05:15:00 GMT 2005

I tried to build the gcc/binutils using the current CVS.
(gcc = 4.0 branch, binutils = trunk).
m6811-elf-gcc generates ICE when it compiles newlib/libc/stdio/vfprintf.c

$ /home2/namsh/c/gnu/build/dist/gcc/xgcc -B/home2/namsh/c/gnu/build/dist/gcc/
-nostdinc -B/home2/namsh/c/gnu/build/dist/m6811-elf/mshort/newlib/ -isystem
/home2/namsh/c/gnu/build/dist/m6811-elf/mshort/newlib/targ-include -isystem
/home2/namsh/c/gnu/build/newlib/libc/include -B/usr/GNUHCS/m6811-elf/bin/
-B/usr/GNUHCS/m6811-elf/lib/ -isystem /usr/GNUHCS/m6811-elf/include -isystem
/usr/GNUHCS/m6811-elf/sys-include -L/home2/namsh/c/gnu/build/dist/ld  -mshort
-DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\"  -I.
-I../../../../../../newlib/libc/stdio  -DPREFER_SIZE_OVER_SPEED -Os -mrelax
    -O2 -O2 -static  -mshort -fshort-enums -c
../../../../../../newlib/libc/stdio/vfprintf.c -save-temps
../../../../../../newlib/libc/stdio/vfprintf.c: In function '_vfprintf_r':
../../../../../../newlib/libc/stdio/vfprintf.c:1221: error: insn does not
satisfy its constraints:
(insn 4304 229 4302 14 (parallel [
            (set (reg:DF 14 *_.d1)
                (mem/s/u:DF (symbol_ref:HI ("C.1.2997") <var_decl 0xb7ffd144
C.1>) [74 C.1+0 S8 A8]))
            (clobber (scratch:HI))
        ]) 18 {movdf_internal} (nil)
../../../../../../newlib/libc/stdio/vfprintf.c:1221: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:391

           Summary: ICE on compiling vfprintf.c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: namsh at kldp dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: m6811-unknown-none


More information about the Gcc-bugs mailing list