On Wed, Jan 20, 2010 at 07:43:25PM +0100, Stefan Weil wrote: > Compilation for arm (native or cross) results in this > warning: > > fpu/softfloat-native.c: In function ‘float64_round_to_int’: > fpu/softfloat-native.c:387: error: control reaches end of non-void function > > float64_round_to_int uses special assembler code for arm > and has no explicit return value. > > As there is no obvious reason why arm should need special > code, all fpu related conditionals were removed. > The remaining code is standard (C99) and compiles for arm, > too.
The reason for this special code is that ARM old ABI does not have the FE_* constants defined. Only EABI is supported since the switch to TCG, so this is not a problem removing that code. Patch applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net