For mips target hosted on mingw32 building libgcc2 fails.
ccAFaaaa.s: Assembler messages:
ccAFaaaa.s:19: Warning: expected `$'
ccAFaaaa.s:19: Error: junk at end of line, first unrecognized character is `n'
make[2]: *** [libgcc/./_muldi3.o] Error 1
the offending code is the function prologue produced by
mips_output_function_prologue in gcc/config/mips/mips.c
__muldi3:
.frame $sp,0,(null) # vars= 7640055, regs= 0/0, args= 0, gp= 0
which should have been
__muldi3:
.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
this is caused by the HOST_WIDE_INT_PRINT_DEC macro in gcc/hwint.h not using the
HOST_LONG_LONG_FORMAT override from /gcc/config/i386/xm-mingw32.h
--
Summary: HOST_LONG_LONG_FORMAT not used in HOST_WIDE_INT_PRINT
macro
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wintermute2k4 at ntlworld dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-mingw32
GCC host triplet: i686-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22594