The C++ headers #undef the functions we are testing for, just in case
they're implemented as macros, so do that in the cross math decl tests
as well.
for libstdc++-v3/ChangeLog
* crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Reject macros.
* configure: Rebuild.
2020-01-23 Alexandre Oliva <oliva@adacore.com>
+ * crossconfig.m4 (GLIBCXX_CHECK_MATH_DECL): Reject macros.
+ * configure: Rebuild.
+
* testsuite/27_io/fpos/mbstate_t/1.cc: Zero-init mbstate_t.
2020-01-23 Jonathan Wakely <jwakely@redhat.com>
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef acosl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef asinl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef atan2l
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef atanl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef ceill
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef cosl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef coshl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef expl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef fabsl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef floorl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef fmodl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef frexpl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef ldexpl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef log10l
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef logl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef modfl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef powl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef sinl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef sinhl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef sqrtl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef tanl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef tanhl
int
main ()
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
+#undef $1
], [
void (*f)(void) = (void (*)(void))$1;
], [glibcxx_cv_func_$1_use=yes