------- Comment #2 from r dot emrich at de dot tecosim dot com 2008-12-08 17:08 ------- (In reply to comment #1) > Created an attachment (id=16815) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16815&action=view) [edit] > preproccesed source > > the following looks weired for me: > > # 31 "/opt/gnu/src/gcc/gcc-4.4.0-test/libstdc++-v3/libmath/stubs.c" 2 > # 1 "../config.h" 1 > # 32 "/opt/gnu/src/gcc/gcc-4.4.0-test/libstdc++-v3/libmath/stubs.c" 2 > > > > > > float > ((float)fabs((double)(float)(float x))) > { > return (float) fabs(x); > } > >
And this is caused by the following lines in /usr/include/math.h # ifdef _PA_RISC # define _FPCLASSIFY(x) (_IS32(x)?_Fpclassifyf(x)>>1:_Fpclassify(x)>>1) extern int _Fpclassify(double); extern int _Fpclassifyf(float); # ifndef _DISALLOW_MASKING_MACROS # define fabsf(x) ((float)fabs((double)(float)(x))) # endif # else /* __IA64__ */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38384