aboutsummaryrefslogtreecommitdiff
path: root/gcc/m2/mc-boot/GPushBackInput.cc
diff options
context:
space:
mode:
authorYuao Ma <c8ef@outlook.com>2025-08-07 22:35:17 +0800
committerTobias Burnus <tburnus@baylibre.com>2025-08-12 08:13:13 +0200
commit587b8a62f501792618df232d82c8336bb80f40f1 (patch)
tree98c6c6f7021b3e3fdf979af709760f95d37793d3 /gcc/m2/mc-boot/GPushBackInput.cc
parent1b5b461428fb6a43ef91e3dc330d6f59b6d88618 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
fortran: add optional lower arg to c_f_pointerHEADtrunkmaster
This patch adds support for the optional lower argument in intrinsic c_f_pointer specified in Fortran 2023. Test cases and documentation have also been updated. gcc/fortran/ChangeLog: * check.cc (gfc_check_c_f_pointer): Check lower arg legitimacy. * intrinsic.cc (add_subroutines): Teach c_f_pointer about lower arg. * intrinsic.h (gfc_check_c_f_pointer): Add lower arg. * intrinsic.texi: Update lower arg for c_f_pointer. * trans-intrinsic.cc (conv_isocbinding_subroutine): Add logic handle lower. gcc/testsuite/ChangeLog: * gfortran.dg/c_f_pointer_shape_tests_7.f90: New test. * gfortran.dg/c_f_pointer_shape_tests_8.f90: New test. * gfortran.dg/c_f_pointer_shape_tests_9.f90: New test. Signed-off-by: Yuao Ma <c8ef@outlook.com>
Diffstat (limited to 'gcc/m2/mc-boot/GPushBackInput.cc')
0 files changed, 0 insertions, 0 deletions