This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
V3 PATCH: library fallback for mathematical __builtin_xxx
- To: gcc-patches at gcc dot gnu dot org
- Subject: V3 PATCH: library fallback for mathematical __builtin_xxx
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 25 Jul 2001 10:17:18 +0200
- Cc: libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
This patch implements the stubs for missing functions required for V3
in <math.h>. It should fix PR 3474.
Bootstrapped and tested on an i686-pc-linux. Applied to mainline
only -- branch will go through the same treatment after a day or two.
-- Gaby
2001-07-25 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
(EXTRA_DIST): Remove hypot.c hypotf.c.
* libmath/Makefile.am: Regenerate.
* libmath/hypotf.c: Remove.
* libmath/hypot.c: Likewise.
* libmath/hypotl.c: Likewise.
* libmath/stubs.c: The macros seen here are HAVE_xxx, not
_GLIBCPP_HAVE_xxx. Add long double versions.
stubs.patch.gz