[Patch, fortran] PR68846 - Pointer function as LValue doesn't work when the assignment regards a dummy argument.
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu May 10 10:56:00 GMT 2018
Committed as obvious in revision 260113.
I will commence backporting as soon as I can.
Thanks to Mirco Valentini for the initial fix, which he posted on 2017-02-28.
Cheers
Paul
2018-05-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/68846
PR fortran/70864
* resolve.c (get_temp_from_expr): The temporary must not have
dummy or intent attributes.
2018-05-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/68846
* gfortran.dg/temporary_3.f90 : New test.
PR fortran/70864
* gfortran.dg/temporary_2.f90 : New test.
More information about the Fortran
mailing list