This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r110365 - in /trunk/gcc: fortran/ChangeLog fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 29 Jan 2006 06:08:09 -0000
- Subject: r110365 - in /trunk/gcc: fortran/ChangeLog fort...
Author: pault
Date: Sun Jan 29 06:08:07 2006
New Revision: 110365
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110365
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/char_pointer_assign_2.f90
trunk/gcc/testsuite/gfortran.dg/procedure_lvalue.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dependency.h
trunk/gcc/fortran/expr.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/char_result_1.f90
trunk/gcc/testsuite/gfortran.dg/char_result_2.f90
trunk/gcc/testsuite/gfortran.dg/char_result_8.f90