[PATCH] PR fortran/89344 -- INTENT(IN) CLASS(*) cannot be assigned to
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Jun 13 05:12:00 GMT 2019
Hi Steve,
OK - thanks
Paul
On Wed, 12 Jun 2019 at 19:42, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
>
> The attach patch has lived in my tree for 4 months.
> It's time to submit it. Passed regression testing
> for a long time.
>
> An INTENT(in) entity that has CLASS(*) dummy argument
> should not use SELECT TYPE to then try to assign to the
> entity. OK to commit?
>
> 2019-06-12 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/89344
> * expr.c (gfc_check_vardef_context): Check for INTENT(IN) variable
> in SELECT TYPE construct.
>
> 2019-06-12 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/89344
> * gfortran.dg/pr89344.f90: New test.
>
> --
> Steve
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Fortran
mailing list