Hi! I could imagine that the flatten attribute might be useful. Do we want to add support for it for gcc-13?
Bernhard Reutner-Fischer (2): Fortran: Cleanup struct ext_attr_t Fortran: Add attribute flatten gcc/fortran/decl.cc | 41 +++++++++++++------- gcc/fortran/f95-lang.cc | 2 + gcc/fortran/gfortran.h | 1 - gcc/fortran/gfortran.texi | 8 ++++ gcc/fortran/trans-decl.cc | 13 +------ gcc/testsuite/gfortran.dg/attr_flatten-1.f90 | 41 ++++++++++++++++++++ 6 files changed, 80 insertions(+), 26 deletions(-) create mode 100644 gcc/testsuite/gfortran.dg/attr_flatten-1.f90 -- 2.38.1