gcc/libgfortran
Paul Thomas 2853e5127d re PR fortran/18022 (problem with structure and calling a function)
2005-10-23  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/18022
	* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL
	if there is a component ref during an array ref to force
	use of temporary in assignment.

	PR fortran/24311
	PR fortran/24384
	* fortran/iresolve.c (check_charlen_present): New function to
	add a charlen to the typespec, in the case of constant
	expressions.
	(gfc_resolve_merge, gfc_resolve_spread): Call.the above.
	(gfc_resolve_spread): Make calls to library functions that
	handle the case of the spread intrinsic with a scalar source.
	* libgfortran/intrinsics/spread_generic.c (spread_internal
	_scalar): New function that handles the special case of spread
	with a scalar source. This has interface functions -
	(spread_scalar, spread_char_scalar): New functions to interface
	with the calls specified in gfc_resolve_spread.

2005-10-23  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/18022
	gfortran.dg/assign_func_dtcomp_1.f90: New test.

	PR fortran/24311
	gfortran.dg/merge_char_const.f90: New test.

	PR fortran/24384
	gfortran.dg/spread_scalar_source.f90: New test.

From-SVN: r105810
2005-10-23 06:59:17 +00:00
..
config fpu-387.h (set_fpu): Remove extra ":" in stmxcsr. 2005-10-14 13:06:11 +02: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 re PR fortran/18022 (problem with structure and calling a function) 2005-10-23 06:59:17 +00:00
io re PR libfortran/24383 (mingw doesn't have SSIZE_MAX) 2005-10-21 19:40:32 +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 gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
.cvsignore
acinclude.m4 re PR target/23552 (FAIL: gfortran.dg/large_real_kind_1.f90) 2005-09-27 21:12:52 +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
ChangeLog re PR fortran/18022 (problem with structure and calling a function) 2005-10-23 06:59:17 +00:00
config.h.in gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure.ac gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
configure.host gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
fmain.c
libgfortran.h gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
libtool-version
Makefile.am gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +00:00
Makefile.in gfortran.h: Add bitmasks for different FPE traps. 2005-10-12 20:21:31 +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-srk-inc.sh