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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:aed5584ff6891560dc567e54517b9722dadc503e

commit r13-4809-gaed5584ff6891560dc567e54517b9722dadc503e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Dec 20 21:17:08 2022 +0100

    Fortran: a C interoperable function cannot have the CLASS attribute
[PR95375]

    gcc/fortran/ChangeLog:

            PR fortran/95375
            * decl.cc (verify_bind_c_sym): Extend interoperability check to
            CLASS variables.

    gcc/testsuite/ChangeLog:

            PR fortran/95375
            * gfortran.dg/bind_c_procs_4.f90: New test.

Reply via email to