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
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
aclocal.m4 configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
c99_protos.h
ChangeLog re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
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
fmain.c
libgfortran.h re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-03 16:18:46 +00:00
libtool-version
Makefile.am
Makefile.in configure.ac: Remove check for sys/mman.h. 2006-01-07 21:28:22 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh