https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122521

--- Comment #25 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Mikael Morin <[email protected]>:

https://gcc.gnu.org/g:d9dcc189896de84c47a337af4f522e2ffc6a1265

commit r17-3700-gd9dcc189896de84c47a337af4f522e2ffc6a1265
Author: Mikael Morin <[email protected]>
Date:   Thu Aug 27 11:49:32 2026 +0200

    fortran: array descriptor: Move dtype layout constants out of header
[PR122521]

    The file trans.h contains preprocessor constants describing the ordering of
    the dtype subfields of array descriptors.  The functions using them have
    been moved to trans-descriptor.cc; now move the constants themselves.

            PR fortran/122521

    gcc/fortran/ChangeLog:

            * trans.h (GFC_DTYPE_ELEM_LEN, GFC_DTYPE_VERSION, GFC_DTYPE_RANK,
            GFC_DTYPE_TYPE, GFC_DTYPE_ATTRIBUTE): Move preprocessor
constants...
            * trans-descriptor.cc (GFC_DTYPE_ELEM_LEN, GFC_DTYPE_VERSION,
            GFC_DTYPE_RANK, GFC_DTYPE_TYPE, GFC_DTYPE_ATTRIBUTE): ... here.
            Undefine the constants after the last function using them.

Reply via email to