diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-12-20 21:17:08 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-12-20 22:24:01 +0100 |
commit | aed5584ff6891560dc567e54517b9722dadc503e (patch) | |
tree | 010a8bb9d5343f4744c7b3a4843f4056de9154eb /gcc/fold-const.cc | |
parent | a6504f13a0509f3937bdcdf63bf76bed7d880b72 (diff) | |
download | gcc-aed5584ff6891560dc567e54517b9722dadc503e.zip gcc-aed5584ff6891560dc567e54517b9722dadc503e.tar.gz gcc-aed5584ff6891560dc567e54517b9722dadc503e.tar.bz2 |
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.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions