[PATCH 0/3] fortran: array descriptor part 4: Move dtype fields constants [PR122521]
Mikael Morin <[email protected]> Tue, 28 Jul 2026 17:20:09 +0200
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
From: Mikael Morin <[email protected]> The `trans.h' header file contains field layout order constants for the fields of array descriptors' dtype. This part moves these constants and the code using them to trans-descriptor.cc. Previous parts in the series: part 3 (dropped): fortran: Ensure read-only getters https://inbox.sourceware.org/gcc-patches/[email protected]/ https://inbox.sourceware.org/fortran/[email protected]/ part 2 (pushed): fortran: Add getters and setters https://inbox.sourceware.org/gcc-patches/[email protected]/ https://inbox.sourceware.org/fortran/[email protected]/ part 1 (pushed): fortran: Move existing functions to a separate file https://inbox.sourceware.org/gcc-patches/[email protected]/ https://inbox.sourceware.org/fortran/[email protected]/ Mikael Morin (3): fortran: array descriptor: Move dtype constructor generation [PR122521] fortran: array descriptor: Move rank offset construction [PR122521] fortran: array descriptor: Move dtype layout constants out of header [PR122521] gcc/fortran/trans-descriptor.cc | 69 ++++++++++++++++++++++++++++++--- gcc/fortran/trans-descriptor.h | 2 + gcc/fortran/trans-types.cc | 49 +++-------------------- gcc/fortran/trans.h | 6 --- 4 files changed, 71 insertions(+), 55 deletions(-) -- 2.53.0