gcc/libgfortran
Steven G. Kargl e8525382d9 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 15:58:16 +00:00
..
generated matmul.m4, [...]: Allocate space if return value has NULL in its data field. 2004-08-09 14:34:39 +00:00
intrinsics gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID. 2004-08-28 23:43:41 +00:00
io re PR libfortran/17195 (Infinite loop in output_float in libgfortran/io/write.c) 2004-08-28 19:48:02 +00:00
m4 matmul.m4, [...]: Allocate space if return value has NULL in its data field. 2004-08-09 14:34:39 +00:00
runtime re PR libfortran/17195 (Infinite loop in output_float in libgfortran/io/write.c) 2004-08-28 19:48:02 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
acinclude.m4
aclocal.m4 re PR libfortran/11800 ([gfortan] libgfortran should be multi-libed) 2004-05-30 23:58:10 +02:00
AUTHORS
ChangeLog check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
config.h.in check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
configure check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
configure.ac check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
COPYING
fmain.c
INSTALL
libgfortran.h re PR libfortran/17195 (Infinite loop in output_float in libgfortran/io/write.c) 2004-08-28 19:48:02 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
Makefile.am check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
Makefile.in check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
NEWS
README

This is the GNU Fortran 95 Runtime library (libgfortran).
It is intended to be compiled as part of GCC.

Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this
automatically.

You'll need to apply gcc_config.patch to your top level GCC source directory.
This tells the the GCC configure system about libgfor. This patch can confuse
patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this
problem.

For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net

Paul Brook <paul@nowt.org>