Tried to compile newlib for the target m68hc11 and got an ICE on the file 
vfprintf.c. 
 
The following was dumped by the compiler: 
 
[EMAIL PROTECTED] ~/build/newlib-1.13.0/newlib/libc/stdio $ m68hc11-gcc 
-isystem /home/mikaelr/build/newlib-1.13.0/newlib/libc/include   -O2   -mshort 
-c test.c 
vfprintf.c: In function '_vfprintf_r': 
vfprintf.c:1221: error: insn does not satisfy its constraints: 
(insn 4211 146 4209 14 (parallel [ 
            (set (reg:DF 14 *_.d1) 
                (mem/s/u:DF (symbol_ref:HI ("C.1.3377") <var_decl 0x40293d14 
C.1>) [74 C.1+0 S8 A8])) 
            (clobber (scratch:HI)) 
        ]) 18 {movdf_internal} (nil) 
    (nil)) 
vfprintf.c:1221: internal compiler error: in reload_cse_simplify_operands, at 
postreload.c:391 
Var vänlig och skicka in en komplett felrapport, 
om möjligt med preprocessad källfil. 
Se <URL:http://gcc.gnu.org/bugs.html> för instruktioner. 
[EMAIL PROTECTED] ~/build/newlib-1.13.0/newlib/libc/stdio $ 
 
gcc -v result in: 
[EMAIL PROTECTED] ~/build/newlib-1.13.0/newlib/libc/stdio $ m68hc11-gcc -v 
Using built-in specs. 
Target: m68hc11 
Configured with: ../gcc-4.0.1/configure --prefix=/usr/local/m68hc11 
--target=m68hc11 --without-headers --with-gnu-ld --with-gnu-as 
--disable-threads --with-newlib --enable-languages=c 
Thread model: single 
gcc version 4.0.1 
[EMAIL PROTECTED] ~/build/newlib-1.13.0/newlib/libc/stdio $   
 
I'm attaching the output from a gcc -E command below. 
 
--- Mikael R

-- 
           Summary: ICE when cross compiling newlib to 68hc11 target.
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rosbacke at nada dot kth dot se
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-pc-linux-gnu
  GCC host triplet: i386-pc-linux-gnu
GCC target triplet: m68hc11


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

Reply via email to