[PATCH] PR fortran/78719 -- Check for a CLASS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] PR fortran/78719 -- Check for a CLASS

Steve Kargl
Regression tested on x86_64-*-freebsd.  OK to commit?

When checking to see in attrbutes are being added to
an entity that alrady has an explcit interface, gfortran
failed to consider the case of CLASS.  The attach patch
corrects this omission.  See the 3 testcases for clarity.

2019-08-16  Steven G. Kargl  <[hidden email]>

        PR fortran/78719
        * decl.c (get_proc_name): Check for a CLASS entity when trying to
        add attributes to an entity that already has an explicit interface.

2019-08-16  Steven G. Kargl  <[hidden email]>

        PR fortran/78719
        * gfortran.dg/pr78719_1.f90: New test.
        * gfortran.dg/pr78719_2.f90: Ditto.
        * gfortran.dg/pr78719_3.f90: Ditto.

--
Steve

pr78719.diff (3K) Download Attachment