https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129235
--- Comment #3 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:683623baa85ef9a73f7ea70c9fcdb42b6e4c2cb2 commit r17-7162-g683623baa85ef9a73f7ea70c9fcdb42b6e4c2cb2 Author: Mikael Morin <[email protected]> Date: Fri Dec 4 12:02:53 2026 +0100 testsuite: Use an integer kind compatible with SIZEOF [PR129236] The result kind of the SIZEOF intrinsic is different depending on the target, causing compilation errors on 32 bits targets. Use a C_PTRDIFF_T kind to be compatible with the SIZEOF result type everywhere. PR testsuite/129235 PR testsuite/129236 gcc/testsuite/ChangeLog: * gfortran.dg/sizeof_7.f90: Use a C_PTRDIFF_T kind to be compatible with the SIZEOF result type. * gfortran.dg/sizeof_8.f90: Likewise.
