This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

avr-gcc build fails on fp-bit.c


Trying to build CVS avr-gcc today I got this error:

fp-bit.c: In function `nan':
fp-bit.c:428: `__thenan_df' undeclared (first use in this function)
fp-bit.c:428: (Each undeclared identifier is reported only once
fp-bit.c:428: for each function it appears in.)
make[2]: *** [libgcc/./_thenan_sf.o] Error 1

fixed by adding "#define FLOAT" to fp-bit.c.  Was this change correct?

	* config/avr/t-avr: Remove definition of FLOAT while generates
	fp-bit.c

(comments in fp-bit.c say that FLOAT_ONLY is used with FLOAT)

Thanks,
Marek

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]