gcc/libgfortran
Francois-Xavier Coudert 0d519038a0 check.c (gfc_check_malloc, [...]): New functions.
* check.c (gfc_check_malloc, gfc_check_free): New functions.
	* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_MALLOC.
	* intrinsic.c (add_functions): Add symbols for MALLOC function.
	(add_subroutines): Add symbol for FREE subroutine.
	* intrinsic.h: Prototypes for gfc_check_malloc, gfc_check_free,
	gfc_resolve_malloc and gfc_resolve_free.
	* intrinsic.texi: Add doc for FREE and MALLOC intrinsics.
	* iresolve.c (gfc_resolve_malloc, gfc_resolve_free): New
	functions.
	* trans-intrinsic.c (gfc_conv_intrinsic_function): Add case for
	GFC_ISYM_MALLOC.

	* Makefile.am: Add intrinsics/malloc.c file.
	* Makefile.in: Regenerate.
	* intrinsics/malloc.c: New file, with implementations for free
	and malloc library functions.

	* gfortran.dg/malloc_free_1.f90: New test.

From-SVN: r106016
2005-10-30 12:17:48 +00:00
..
config acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
generated re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
intrinsics check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
io re PR libfortran/24224 (Generalized internal array IO not implemented.) 2005-10-25 01:32:33 +00:00
m4 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
runtime re PR libfortran/24224 (Generalized internal array IO not implemented.) 2005-10-25 01:32:33 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
ChangeLog check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
Makefile.am check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
Makefile.in check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
aclocal.m4 c99_protos.h: Add prototypes for C99 complex functions. 2005-09-25 21:39:58 +00:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
config.h.in check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure.ac check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
libgfortran.h 2005-10-24 Jerry DeLisle <jvdelisle@verizon.net> 2005-10-25 01:52:48 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
mk-kinds-h.sh re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
mk-sik-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00