diff options
author | Harald Anlauf <anlauf@gmx.de> | 2025-03-02 22:20:28 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2025-03-03 20:18:04 +0100 |
commit | f9f16b9f74b767ca799a82f25be66a5fed25756d (patch) | |
tree | 3d1d967666f76188417cc846a216c164f8f8fe86 /gcc/fortran/constructor.h | |
parent | 71355700432b15590123dc13833304c75ad8a0b6 (diff) | |
download | gcc-f9f16b9f74b767ca799a82f25be66a5fed25756d.zip gcc-f9f16b9f74b767ca799a82f25be66a5fed25756d.tar.gz gcc-f9f16b9f74b767ca799a82f25be66a5fed25756d.tar.bz2 |
Fortran: reject empty derived type with bind(C) attribute [PR101577]
PR fortran/101577
gcc/fortran/ChangeLog:
* symbol.cc (verify_bind_c_derived_type): Generate error message
for derived type with no components in standard conformance mode,
indicating that this is a GNU extension.
gcc/testsuite/ChangeLog:
* gfortran.dg/empty_derived_type.f90: Adjust dg-options.
* gfortran.dg/empty_derived_type_2.f90: New test.
Diffstat (limited to 'gcc/fortran/constructor.h')
0 files changed, 0 insertions, 0 deletions