Hi Thomas,

Am 10.03.25 um 21:01 schrieb Thomas Koenig:
Hello world,

the attached patch makes sure that procedures from abstract
interfaces and dummy arguments are not put into the global
symbol table, and are not checked against global symbols.

Regression-tested. OK for trunk?

Best regards

     Thomas

Abstract interfaces and dummy arguments are not global.

gcc/fortran/ChangeLog:

     PR fortran/119078
     * frontend-passes.cc (check_against_globals): Do not check
     for abstract interfaces or dummy arguments.
     * resolve.cc (gfc_verify_binding_labels): Adjust comment.
     Do not put abstract interfaces or dummy argument into global
     namespace.

gcc/testsuite/ChangeLog:

     PR fortran/119078
     * gfortran.dg/interface_58.f90: New test

the patch looks basically fine but I cannot find the testcase.

Cheers,
Harald

Reply via email to