gcc/libgfortran
Thomas Koenig 5b725b8d04 re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.)
2006-03-03  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25031
	* trans-array.h:  Adjust gfc_array_allocate prototype.
	* trans-array.c (gfc_array_allocate):  Change type of
	gfc_array_allocatate to bool.  Function returns true if
	it operates on an array.  Change second argument to gfc_expr.
	Find last reference in chain.
	If the function operates on an allocatable array, emit call to
	allocate_array() or allocate64_array().
	* trans-stmt.c (gfc_trans_allocate):  Code to follow to last
	reference has been moved to gfc_array_allocate.
	* trans.h:  Add declaration for gfor_fndecl_allocate_array and
	gfor_fndecl_allocate64_array.
	(gfc_build_builtin_function_decls):  Add gfor_fndecl_allocate_array
	and gfor_fndecl_allocate64_array.

2006-03-03  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25031
	* runtime/memory.c:  Adjust copyright years.
	(allocate_array):  New function.
	(allocate64_array):  New function.
	* libgfortran.h (error_codes):  Add ERROR_ALLOCATION.

2006-03-03  Thomas Koenig  <Thomas.Koenig@online.de>

	PR fortran/25031
	* multiple_allocation_1.f90:  New test.

From-SVN: r111677
2006-03-03 16:18:46 +00:00
..
config fpu-glibc.h (set_fpu): Only call fedisableexcept for nonzero FE_ALL_EXCEPT. 2005-11-18 00:09:09 +00:00
generated re PR libfortran/24903 (dotprod should use __builtin_conj) 2006-02-16 07:52:22 +00:00
intrinsics re PR libfortran/25577 (gfortran routine mvbits returns wrong answer.) 2006-02-08 00:52:37 +01:00
io re PR libfortran/26136 (List directed input with underfilled (logicals) array read incorrectly) 2006-03-01 06:04:45 +00:00
m4 re PR libfortran/24903 (dotprod should use __builtin_conj) 2006-02-16 07:52:22 +00:00
runtime re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
acinclude.m4 re PR libfortran/24991 (gfortran build fails with - error:gthr-default.h: No such file or directory) 2005-12-09 14:50:11 +01:00
aclocal.m4 configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
ChangeLog re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
configure configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +00:00
configure.ac configure.ac (CFLAGS): Update to include -std=gnu99 so that the configure tests will be run with the... 2006-01-16 22:03:14 +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 re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
libtool-version re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
Makefile.am Makefile.am: Enable loop unrolling for matmul. 2005-12-10 23:22:16 +02:00
Makefile.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02: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