[Patch, fortran] PR26787 - Assigning to function causes ice in gfortran
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Apr 13 19:17:00 GMT 2006
On Thu, Apr 13, 2006 at 08:51:09PM +0200, Paul Thomas wrote:
>
> 2006-04-13 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/26822
> * expr.c (gfc_check_assign): Extend scope of arror to include
s/arror/error
> assignments to a procedure in the main program or, from a
> module or internal procedure that is not that represented by
> the lhs symbol.
>
> 2006-04-13 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/26822
> * gfortran.dg/proc_assign_1.f90: New test.
>
OK with a minor mod.
> ! /* A procedure symbol cannot be an lvalue if it is: */
Can you add the section number from the standard to above? For example,
/* From 12.2.3, a procedure symbol cannot ... */
--
Steve
More information about the Fortran
mailing list