https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948

--- Comment #3 from kargls at comcast dot net ---
Created attachment 61202
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61202&action=edit
fix the issues

The attached patch has passed regression testing on x86_64-*-freebsd.

        * primary.cc (match_variable): Handle a result-name with an
        allocatable component in a pure function.
        * resolve.cc (gfc_impure_variable): Ditto.


        * gfortran.dg/pr119948_1.f90: New testcase.
        * gfortran.dg/pr119948_2.f90: Ditto.

Reply via email to