https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114101
--- Comment #4 from dave.anglin at bell dot net --- On 2024-02-25 2:21 p.m., redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114101 > > Jonathan Wakely <redi at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > See Also| |https://gcc.gnu.org/bugzill > | |a/show_bug.cgi?id=111639 I haven't tested my hpux changes to crossconfig.m4. I just added new defines for some float math functions that were missing from the list and slightly reorganized the list into something slightly closer to alphabetical order. 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. In my package, configure checks were added so that we now check all the C99 float variants. As a result, we now use the libc version instead of the stub version for some functions.
