https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101577
--- Comment #2 from GCC 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:f9f16b9f74b767ca799a82f25be66a5fed25756d commit r15-7798-gf9f16b9f74b767ca799a82f25be66a5fed25756d Author: Harald Anlauf <anl...@gmx.de> Date: Sun Mar 2 22:20:28 2025 +0100 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.