diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-29 06:08:07 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-29 06:08:07 +0000 |
commit | ecb5283ad4e667a7c9009a4a9233e286fa1036a1 (patch) | |
tree | c493858c5802a7c1b40e9a3197f20794ee88cc60 /gcc/fortran/dependency.h | |
parent | f788fff2bf44397e09bbf0459c06550f00ab45d5 (diff) | |
download | gcc-ecb5283ad4e667a7c9009a4a9233e286fa1036a1.tar.gz |
2006-01-28 Paul Thomas <pault@gcc.gnu.org>
PR fortran/17911
* expr.c (gfc_check_assign, gfc_check_pointer_assign): Emit error if
the lvalue is a use associated procedure.
PR fortran/20895
PR fortran/25030
* expr.c (gfc_check_pointer_assign): Emit error if lvalue and rvalue
character lengths are not the same. Use gfc_dep_compare_expr for the
comparison.
* gfortran.h: Add prototype for gfc_dep_compare_expr.
* dependency.h: Remove prototype for gfc_dep_compare_expr.
2006-01-29 Paul Thomas <pault@gcc.gnu.org>
PR fortran/17911
* gfortran.dg/procedure_lvalue.f90: New test.
PR fortran/20895
PR fortran/25030
* gfortran.dg/char_pointer_assign_2.f90: New test.
* gfortran.dg/char_result_1.f90: Correct unequal charlen pointer
assignment to be consistent with standard.
* gfortran.dg/char_result_2.f90: The same.
* gfortran.dg/char_result_8.f90: The same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110365 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/dependency.h')
-rw-r--r-- | gcc/fortran/dependency.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/dependency.h b/gcc/fortran/dependency.h index 7ef2edd97e5..719f444a8ca 100644 --- a/gcc/fortran/dependency.h +++ b/gcc/fortran/dependency.h @@ -27,7 +27,6 @@ int gfc_check_fncall_dependency (gfc_expr *, sym_intent, gfc_symbol *, gfc_actual_arglist *); int gfc_check_dependency (gfc_expr *, gfc_expr *, gfc_expr **, int); int gfc_is_same_range (gfc_array_ref *, gfc_array_ref *, int, int); -int gfc_dep_compare_expr (gfc_expr *, gfc_expr *); int gfc_expr_is_one (gfc_expr *, int); int gfc_dep_resolver(gfc_ref *, gfc_ref *); |