2004-06-12 19:59:30 +02:00
|
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
2004-05-13 08:41:07 +02:00
|
|
|
|
|
|
|
/* Does gettimeofday take a single argument */
|
|
|
|
#undef GETTIMEOFDAY_ONE_ARGUMENT
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes acosf */
|
|
|
|
#undef HAVE_ACOSF
|
|
|
|
|
|
|
|
/* libm includes asinf */
|
|
|
|
#undef HAVE_ASINF
|
|
|
|
|
|
|
|
/* libm includes atan2f */
|
|
|
|
#undef HAVE_ATAN2F
|
|
|
|
|
|
|
|
/* libm includes atanf */
|
|
|
|
#undef HAVE_ATANF
|
|
|
|
|
|
|
|
/* libm includes ceilf */
|
|
|
|
#undef HAVE_CEILF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* complex.h exists */
|
|
|
|
#undef HAVE_COMPLEX_H
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes copysignf */
|
|
|
|
#undef HAVE_COPYSIGNF
|
|
|
|
|
|
|
|
/* libm includes cosf */
|
|
|
|
#undef HAVE_COSF
|
|
|
|
|
|
|
|
/* libm includes coshf */
|
|
|
|
#undef HAVE_COSHF
|
|
|
|
|
check.c (gfc_check_besn, [...]): New functions.
2004-08-29 Steven G. Kargl <kargls@comcast.net>
Paul Brook <paul@codesourcery.com>
* check.c (gfc_check_besn, gfc_check_g77_math1): New functions.
* f95-lang.c (DO_DEFINE_MATH_BUILTIN): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
(build_builtin_fntypes): New function.
(gfc_init_builtin_functions): Use it.
* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_{J,Y}{0,1,N}
and GFC_ISYM_ERF{,C}.
(gfc_c_int_kind): Declare.
* intrinsic.c (add_functions): Add [d]bes* and [d]erf*.
* intrinsic.h (gfc_check_besn, gfc_check_g77_math1, gfc_resolve_besn,
gfc_resolve_g77_math1): Add prototypes.
* resolve.c (gfc_resolve_besn, gfc_resolve_g77_math1): New functions.
* mathbuiltins.def: Add comment. Change third argument. Use
DEFINE_MATH_BUILTIN_C. Add bessel and error functions.
* trans-intrinsic.c (BUILT_IN_FUNCTION): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
* trans-types.c (gfc_c_int_kind): Declare.
(gfc_init_kinds): Set it.
testsuite/
* gfortran.dg/g77/README: Update.
* gfortran.dg/g77/erfc.f: Copy from g77.f-torture.
* gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-erf.f: Ditto.
libgfortran/
* intrinsics/bessel.c: New file.
* intrinsics/erf.c: New file.
* Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
* configure.ac: Test for C99 Bessel and Error functions.
* Makefile.in: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r86727
2004-08-29 17:58:16 +02:00
|
|
|
/* libm includes erf */
|
|
|
|
#undef HAVE_ERF
|
|
|
|
|
|
|
|
/* libm includes erfc */
|
|
|
|
#undef HAVE_ERFC
|
|
|
|
|
|
|
|
/* libm includes erfcf */
|
|
|
|
#undef HAVE_ERFCF
|
|
|
|
|
|
|
|
/* libm includes erff */
|
|
|
|
#undef HAVE_ERFF
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes expf */
|
|
|
|
#undef HAVE_EXPF
|
|
|
|
|
2004-11-23 03:02:38 +01:00
|
|
|
/* libm includes finite */
|
|
|
|
#undef HAVE_FINITE
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes floorf */
|
|
|
|
#undef HAVE_FLOORF
|
|
|
|
|
|
|
|
/* libm includes frexpf */
|
|
|
|
#undef HAVE_FREXPF
|
|
|
|
|
2004-08-29 01:43:41 +02:00
|
|
|
/* libc includes getgid */
|
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
|
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
|
2004-08-29 01:43:41 +02:00
|
|
|
/* libc includes getpid */
|
|
|
|
#undef HAVE_GETPID
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
2004-08-29 01:43:41 +02:00
|
|
|
/* libc includes getuid */
|
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes hypotf */
|
|
|
|
#undef HAVE_HYPOTF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
check.c (gfc_check_besn, [...]): New functions.
2004-08-29 Steven G. Kargl <kargls@comcast.net>
Paul Brook <paul@codesourcery.com>
* check.c (gfc_check_besn, gfc_check_g77_math1): New functions.
* f95-lang.c (DO_DEFINE_MATH_BUILTIN): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
(build_builtin_fntypes): New function.
(gfc_init_builtin_functions): Use it.
* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_{J,Y}{0,1,N}
and GFC_ISYM_ERF{,C}.
(gfc_c_int_kind): Declare.
* intrinsic.c (add_functions): Add [d]bes* and [d]erf*.
* intrinsic.h (gfc_check_besn, gfc_check_g77_math1, gfc_resolve_besn,
gfc_resolve_g77_math1): Add prototypes.
* resolve.c (gfc_resolve_besn, gfc_resolve_g77_math1): New functions.
* mathbuiltins.def: Add comment. Change third argument. Use
DEFINE_MATH_BUILTIN_C. Add bessel and error functions.
* trans-intrinsic.c (BUILT_IN_FUNCTION): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
* trans-types.c (gfc_c_int_kind): Declare.
(gfc_init_kinds): Set it.
testsuite/
* gfortran.dg/g77/README: Update.
* gfortran.dg/g77/erfc.f: Copy from g77.f-torture.
* gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-erf.f: Ditto.
libgfortran/
* intrinsics/bessel.c: New file.
* intrinsics/erf.c: New file.
* Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
* configure.ac: Test for C99 Bessel and Error functions.
* Makefile.in: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r86727
2004-08-29 17:58:16 +02:00
|
|
|
/* libm includes j0 */
|
|
|
|
#undef HAVE_J0
|
|
|
|
|
|
|
|
/* libm includes j0f */
|
|
|
|
#undef HAVE_J0F
|
|
|
|
|
|
|
|
/* libm includes j1 */
|
|
|
|
#undef HAVE_J1
|
|
|
|
|
|
|
|
/* libm includes j1f */
|
|
|
|
#undef HAVE_J1F
|
|
|
|
|
|
|
|
/* libm includes jn */
|
|
|
|
#undef HAVE_JN
|
|
|
|
|
|
|
|
/* libm includes jnf */
|
|
|
|
#undef HAVE_JNF
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes log10f */
|
|
|
|
#undef HAVE_LOG10F
|
|
|
|
|
|
|
|
/* libm includes logf */
|
|
|
|
#undef HAVE_LOGF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the <math.h> header file. */
|
|
|
|
#undef HAVE_MATH_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2004-10-30 18:23:23 +02:00
|
|
|
/* Define to 1 if you have the `mkstemp' function. */
|
|
|
|
#undef HAVE_MKSTEMP
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
2004-06-14 00:58:30 +02:00
|
|
|
/* libm includes nextafter */
|
|
|
|
#undef HAVE_NEXTAFTER
|
|
|
|
|
|
|
|
/* libm includes nextafterf */
|
|
|
|
#undef HAVE_NEXTAFTERF
|
|
|
|
|
2004-09-26 16:52:04 +02:00
|
|
|
/* libm includes powf */
|
2004-10-30 18:23:23 +02:00
|
|
|
#undef HAVE_POWF
|
2004-09-26 16:52:04 +02:00
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes round */
|
2004-06-12 19:59:30 +02:00
|
|
|
#undef HAVE_ROUND
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes roundf */
|
2004-06-12 19:59:30 +02:00
|
|
|
#undef HAVE_ROUNDF
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes scalbnf */
|
|
|
|
#undef HAVE_SCALBNF
|
|
|
|
|
|
|
|
/* libm includes sinf */
|
|
|
|
#undef HAVE_SINF
|
|
|
|
|
|
|
|
/* libm includes sinhf */
|
|
|
|
#undef HAVE_SINHF
|
|
|
|
|
2004-11-20 14:15:17 +01:00
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes sqrtf */
|
|
|
|
#undef HAVE_SQRTF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
|
|
#undef HAVE_STDIO_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2004-11-10 03:19:27 +01:00
|
|
|
/* Define to 1 if you have the `strtof' function. */
|
|
|
|
#undef HAVE_STRTOF
|
|
|
|
|
2004-09-19 01:55:22 +02:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the <sys/params.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAMS_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/times.h> header file. */
|
|
|
|
#undef HAVE_SYS_TIMES_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* libm includes tanf */
|
|
|
|
#undef HAVE_TANF
|
|
|
|
|
|
|
|
/* libm includes tanhf */
|
|
|
|
#undef HAVE_TANHF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you have the `times' function. */
|
|
|
|
#undef HAVE_TIMES
|
|
|
|
|
|
|
|
/* Do we have struct timezone */
|
|
|
|
#undef HAVE_TIMEZONE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
|
|
|
#undef HAVE_TIME_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
check.c (gfc_check_besn, [...]): New functions.
2004-08-29 Steven G. Kargl <kargls@comcast.net>
Paul Brook <paul@codesourcery.com>
* check.c (gfc_check_besn, gfc_check_g77_math1): New functions.
* f95-lang.c (DO_DEFINE_MATH_BUILTIN): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
(build_builtin_fntypes): New function.
(gfc_init_builtin_functions): Use it.
* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_{J,Y}{0,1,N}
and GFC_ISYM_ERF{,C}.
(gfc_c_int_kind): Declare.
* intrinsic.c (add_functions): Add [d]bes* and [d]erf*.
* intrinsic.h (gfc_check_besn, gfc_check_g77_math1, gfc_resolve_besn,
gfc_resolve_g77_math1): Add prototypes.
* resolve.c (gfc_resolve_besn, gfc_resolve_g77_math1): New functions.
* mathbuiltins.def: Add comment. Change third argument. Use
DEFINE_MATH_BUILTIN_C. Add bessel and error functions.
* trans-intrinsic.c (BUILT_IN_FUNCTION): Define.
(DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C): Use it.
* trans-types.c (gfc_c_int_kind): Declare.
(gfc_init_kinds): Set it.
testsuite/
* gfortran.dg/g77/README: Update.
* gfortran.dg/g77/erfc.f: Copy from g77.f-torture.
* gfortran.dg/g77/intrinsic-unix-bessel.f: Ditto.
* gfortran.dg/g77/intrinsic-unix-erf.f: Ditto.
libgfortran/
* intrinsics/bessel.c: New file.
* intrinsics/erf.c: New file.
* Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
* configure.ac: Test for C99 Bessel and Error functions.
* Makefile.in: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r86727
2004-08-29 17:58:16 +02:00
|
|
|
/* libm includes y0 */
|
|
|
|
#undef HAVE_Y0
|
|
|
|
|
|
|
|
/* libm includes y0f */
|
|
|
|
#undef HAVE_Y0F
|
|
|
|
|
|
|
|
/* libm includes y1 */
|
|
|
|
#undef HAVE_Y1
|
|
|
|
|
|
|
|
/* libm includes y1f */
|
|
|
|
#undef HAVE_Y1F
|
|
|
|
|
|
|
|
/* libm includes yn */
|
|
|
|
#undef HAVE_YN
|
|
|
|
|
|
|
|
/* libm includes ynf */
|
|
|
|
#undef HAVE_YNF
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
2004-11-20 14:15:17 +01:00
|
|
|
/* Define to 1 if the target is ILP32. */
|
|
|
|
#undef TARGET_ILP32
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions)
PR libgfortran/16137
* configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
* config.h.in: Regenerate.
* configure: Regenerate.
* instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
implementations for targets that don't support C99 float functions.
From-SVN: r85473
2004-08-03 15:28:26 +02:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
/* Define to `long' if <sys/types.h> does not define. */
|
|
|
|
#undef off_t
|