gcc/libgfortran
Richard Sandiford 1524f80b1c Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h.
gcc/fortran/
	* Make-lang.in (fortran/trans-resolve.o): Depend on
	fortran/dependency.h.
	* gfortran.h (gfc_expr): Add an "inline_noncopying_intrinsic" flag.
	* dependency.h (gfc_get_noncopying_intrinsic_argument): Declare.
	(gfc_check_fncall_dependency): Change prototype.
	* dependency.c (gfc_get_noncopying_intrinsic_argument): New function.
	(gfc_check_argument_var_dependency): New function, split from
	gfc_check_fncall_dependency.
	(gfc_check_argument_dependency): New function.
	(gfc_check_fncall_dependency): Replace the expression parameter with
	separate symbol and argument list parameters.  Generalize the function
	to handle dependencies for any type of expression, not just variables.
	Accept a further argument giving the intent of the expression being
	tested.  Ignore	intent(in) arguments if that expression is also
	intent(in).
	* resolve.c: Include dependency.h.
	(find_noncopying_intrinsics): New function.
	(resolve_function, resolve_call): Call it on success.
	* trans-array.h (gfc_conv_array_transpose): Declare.
	(gfc_check_fncall_dependency): Remove prototype.
	* trans-array.c (gfc_conv_array_transpose): New function.
	* trans-intrinsic.c (gfc_conv_intrinsic_function): Don't use the
	libcall handling if the expression is to be evaluated inline.
	Add a case for handling inline transpose()s.
	* trans-expr.c (gfc_trans_arrayfunc_assign): Adjust for the new
	interface provided by gfc_check_fncall_dependency.

libgfortran/
	* m4/matmul.m4: Use a different order in the special case of a
	transposed first argument.
	* generated/matmul_c4.c, generated/matmul_c8.c, generated/matmul_c10.c,
	* generated/matmul_c16.c, generated/matmul_i4.c, generated/matmul_i8.c,
	* generated/matmul_i10.c, generated/matmul_r4.c, generated/matmul_r8.c
	* generated/matmul_r10.c, generated/matmul_r16.c: Regenerated.

Co-Authored-By: Victor Leikehman <LEI@il.ibm.com>

From-SVN: r108459
2005-12-13 05:23:12 +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 Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
intrinsics format.c: Removing unused code. 2005-12-04 18:13:59 +00:00
io re PR fortran/23815 (Add -byteswapio flag) 2005-12-10 20:01:56 +00:00
m4 Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
runtime re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01: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 Makefile.am: Enable loop unrolling for matmul. 2005-12-10 23:22:16 +02:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
ChangeLog Make-lang.in (fortran/trans-resolve.o): Depend on fortran/dependency.h. 2005-12-13 05:23:12 +00:00
config.h.in acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to... 2005-11-28 20:51:02 +01:00
configure Makefile.am: Enable loop unrolling for matmul. 2005-12-10 23:22:16 +02:00
configure.ac 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
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 libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and _UINT64_T on Solaris. 2005-11-30 08:45:25 +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 Makefile.am: Enable loop unrolling for matmul. 2005-12-10 23:22:16 +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