[Bug libfortran/122957] -fdefault-integer-8 is results in wrong v_list in user defined IO
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 22 21:59:34 GMT 2025
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 <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:8ff212d10acb46c770195af9185396b021f7aa4c
commit r16-6342-g8ff212d10acb46c770195af9185396b021f7aa4c
Author: Steve Kargl <kargl@gcc.gnu.org>
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.
More information about the Gcc-bugs
mailing list