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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:8ff212d10acb46c770195af9185396b021f7aa4c

commit r16-6342-g8ff212d10acb46c770195af9185396b021f7aa4c
Author: Steve Kargl <[email protected]>
Date:   Sun Dec 21 18:32:46 2025 -0800

    fortran [PR122957] DTIO incompatibility with -fdefault-interger-8

    The -fdefault-integer-8 option is optional to assist with legacy
    fortran codes. It is not a Standard requirement and is not
    compatible with the newer user defined derived type I/O.

            PR fortran/122957

    gcc/fortran/ChangeLog:

            * interface.cc (gfc_match_generic_spec): Issue an error
            so that users do not use -fdefault-integer-8 with DTIO.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr122957.f90: New test.

Reply via email to