https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114101

--- Comment #6 from dave.anglin at bell dot net ---
The <math.h.> for HP-UX doesn't do this sort of thing:
> extern double acos(double __x) __ATTR_CONST__;
> #define acosf    acos        /**< The alias for acos().    */
>
> Technically, avr doesn't have a proper acosf.  If float and double differ, 
> acos
> won't handle exceptional
> values correctly for acosf.  So, I think the AC_DEFINEs for the float variants
> should be removed or
> conditioned on some libc version.
With my proposed patch, the avr defines for the float variants in
crossconfig.m4 can be removed
and the code will fallback to using the float stubs.

Reply via email to