]> gcc.gnu.org Git - gcc.git/commit
[multiple changes]
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 29 Jan 2006 06:08:07 +0000 (06:08 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 29 Jan 2006 06:08:07 +0000 (06:08 +0000)
commit2990f854e5290b9b23b6f6aeea977d958d80eb58
treec493858c5802a7c1b40e9a3197f20794ee88cc60
parent21c4a6a73277ef6fec1ad1940109aaa1144a0fee
[multiple changes]

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.

From-SVN: r110365
gcc/fortran/ChangeLog
gcc/fortran/dependency.h
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_pointer_assign_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/char_result_1.f90
gcc/testsuite/gfortran.dg/char_result_2.f90
gcc/testsuite/gfortran.dg/char_result_8.f90
gcc/testsuite/gfortran.dg/procedure_lvalue.f90 [new file with mode: 0644]
This page took 0.062257 seconds and 5 git commands to generate.