gcc/libgfortran
Paul Thomas a4a11197f9 re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression)
2006-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25049
	PR fortran/25050
	* check.c (non_init_transformational): New function.
	(find_substring_ref): New function to signal use of disallowed
	transformational intrinsic in an initialization expression.
	(gfc_check_all_any): Call previous if initialization expr.
	(gfc_check_count): The same.
	(gfc_check_cshift): The same.
	(gfc_check_dot_product): The same.
	(gfc_check_eoshift): The same.
	(gfc_check_minloc_maxloc): The same.
	(gfc_check_minval_maxval): The same.
	(gfc_check_gfc_check_product_sum): The same.
	(gfc_check_pack): The same.
	(gfc_check_spread): The same.
	(gfc_check_transpose): The same.
	(gfc_check_unpack): The same.

	PR fortran/18769
	*intrinsic.c (add_functions): Add gfc_simplify_transfer.
	*intrinsic.h : Add prototype for gfc_simplify_transfer.
	*simplify.c (gfc_simplify_transfer) : New function to act as
	placeholder for eventual implementation.  Emit error for now.

	PR fortran/16206
	* expr.c (find_array_element): Eliminate condition on length of
	offset. Add bounds checking. Rearrange exit. Return try and
	put gfc_constructor result as an argument.
	(find_array_section): New function.
	(find_substring_ref): New function.
	(simplify_const_ref): Add calls to previous.
	(simplify_parameter_variable): Return on NULL expr.
	(gfc_simplify_expr): Only call gfc_expand_constructor for full
	arrays.

	PR fortran/20876
	* match.c (gfc_match_forall): Add missing locus to gfc_code.

2006-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR libfortran/28005
	* m4/matmul.m4: aystride = 1 does not uniquely detect the
	presence of a temporary transpose; an array element in the
	first dimension produces the same signature.  Detect this
	using the rank of a and add specific code.
	* generated/matmul_r4.c: Regenerate.
	* generated/matmul_r8.c: Regenerate.
	* generated/matmul_r10.c: Regenerate.
	* generated/matmul_r16.c: Regenerate.
	* generated/matmul_c4.c: Regenerate.
	* generated/matmul_c8.c: Regenerate.
	* generated/matmul_c10.c: Regenerate.
	* generated/matmul_c16.c: Regenerate.
	* generated/matmul_i4.c: Regenerate.
	* generated/matmul_i8.c: Regenerate.
	* generated/matmul_i16.c: Regenerate.

2006-06-20  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/16206
	* gfortran.dg/array_initializer_1.f90: New test.

	PR fortran/28005
	* gfortran.dg/matmul_3.f90: New test.

From-SVN: r114802
2006-06-20 04:30:48 +00:00
..
config fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. 2006-04-01 21:24:24 +00:00
generated re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression) 2006-06-20 04:30:48 +00:00
intrinsics in_pack.m4: Add TODO comment about detecting temporaries... 2006-06-06 11:10:09 +03:00
io re PR libgomp/27254 (FAIL: libgomp.fortran/reduction6.f90) 2006-06-19 03:07:54 +00:00
m4 re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression) 2006-06-20 04:30:48 +00:00
runtime re PR fortran/25031 ([4.1 only] Allocatable array can be reallocated.) 2006-03-30 16:30:26 +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 AC_FUNC_MMAP. 2006-05-26 22:12:08 +03:00
c99_protos.h
ChangeLog re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression) 2006-06-20 04:30:48 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005
config.h.in configure.ac: Remove AC_FUNC_MMAP. 2006-05-26 22:12:08 +03:00
configure configure.ac: Remove AC_FUNC_MMAP. 2006-05-26 22:12:08 +03:00
configure.ac configure.ac: Remove AC_FUNC_MMAP. 2006-05-26 22:12:08 +03: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 [multiple changes] 2006-03-22 19:09:11 +00:00
libtool-version
Makefile.am Makefile.am: Add install-html target. 2006-05-24 18:37:53 +00:00
Makefile.in configure.ac: Remove AC_FUNC_MMAP. 2006-05-26 22:12:08 +03:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh