[Bug libstdc++/38384] fails to build cross gcc for target hppa64-hp-hpux11.00 in libstdc++/libmath
r dot emrich at de dot tecosim dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 8 17:09:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list