This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR17911, PR20895, PR25030 - Checks on assignments
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 28 Jan 2006 12:03:35 -0800
- Subject: Re: [Patch, fortran] PR17911, PR20895, PR25030 - Checks on assignments
- References: <43DB9A3F.6060207@wanadoo.fr>
On Sat, Jan 28, 2006 at 05:22:23PM +0100, Paul Thomas wrote:
>
> 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-28 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.
>
OK.
--
Steve