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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| all.m4 | Loading commit data... | |
| any.m4 | Loading commit data... | |
| count.m4 | Loading commit data... | |
| cshift1.m4 | Loading commit data... | |
| dotprod.m4 | Loading commit data... | |
| dotprodc.m4 | Loading commit data... | |
| dotprodl.m4 | Loading commit data... | |
| eoshift1.m4 | Loading commit data... | |
| eoshift3.m4 | Loading commit data... | |
| exponent.m4 | Loading commit data... | |
| fraction.m4 | Loading commit data... | |
| head.m4 | Loading commit data... | |
| iforeach.m4 | Loading commit data... | |
| ifunction.m4 | Loading commit data... | |
| in_pack.m4 | Loading commit data... | |
| in_unpack.m4 | Loading commit data... | |
| iparm.m4 | Loading commit data... | |
| matmul.m4 | Loading commit data... | |
| matmull.m4 | Loading commit data... | |
| maxloc0.m4 | Loading commit data... | |
| maxloc1.m4 | Loading commit data... | |
| maxval.m4 | Loading commit data... | |
| minloc0.m4 | Loading commit data... | |
| minloc1.m4 | Loading commit data... | |
| minval.m4 | Loading commit data... | |
| mtype.m4 | Loading commit data... | |
| nearest.m4 | Loading commit data... | |
| pow.m4 | Loading commit data... | |
| product.m4 | Loading commit data... | |
| reshape.m4 | Loading commit data... | |
| set_exponent.m4 | Loading commit data... | |
| shape.m4 | Loading commit data... | |
| specific.m4 | Loading commit data... | |
| specific2.m4 | Loading commit data... | |
| sum.m4 | Loading commit data... | |
| transpose.m4 | Loading commit data... | |
| types.m4 | Loading commit data... |