diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-29 20:38:59 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-29 20:38:59 +0000 |
commit | 8d60cc468e8c1956cef570588d4297ce3a740328 (patch) | |
tree | aca49e7453dd7b8e481ea5b320d8145f0bddc97c /gcc/fortran/dependency.h | |
parent | e0ca1cb51d9b2ab809ab53276a9922bc90b892b1 (diff) | |
download | gcc-8d60cc468e8c1956cef570588d4297ce3a740328.tar.gz |
2009-06-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40551
* dependency.h : Add second bool* argument to prototype of
gfc_full_array_ref_p.
* dependency.c (gfc_full_array_ref_p): If second argument is
present, return true if last dimension of reference is an
element or has unity stride.
* trans-array.c : Add NULL second argument to references to
gfc_full_array_ref_p.
* trans-expr.c : The same, except for;
(gfc_trans_arrayfunc_assign): Return fail if lhs reference
is not a full array or a contiguous section.
2009-06-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40551
* gfortran.dg/func_assign_2.f90 : New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149062 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/dependency.h')
-rw-r--r-- | gcc/fortran/dependency.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/dependency.h b/gcc/fortran/dependency.h index 1920c558c98..6fa0416e2a7 100644 --- a/gcc/fortran/dependency.h +++ b/gcc/fortran/dependency.h @@ -33,7 +33,7 @@ gfc_dep_check; /*********************** Functions prototypes **************************/ bool gfc_ref_needs_temporary_p (gfc_ref *); -bool gfc_full_array_ref_p (gfc_ref *); +bool gfc_full_array_ref_p (gfc_ref *, bool *); gfc_expr *gfc_get_noncopying_intrinsic_argument (gfc_expr *); int gfc_check_fncall_dependency (gfc_expr *, sym_intent, gfc_symbol *, gfc_actual_arglist *, gfc_dep_check); |