[flang-commits] [flang] [flang] RISCV64 (lp64/lp64d) support for BIND(C) derived types (PR #198335)
Philipp Rados via flang-commits
flang-commits at lists.llvm.org
Tue May 26 03:27:28 PDT 2026
prados-oc wrote:
I ran the gfortran/regression tests on real riscv64 hardware (banana-pi) compiled with -march=rv64gcv and it passed all bind(c) related tests:
```
Failed Tests (10):
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__default_format_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__default_format_denormal_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__erf_3_F90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__large_real_kind_form_io_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__pr36006-2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__quad_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-compile-regression__round_4_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__c_char_tests_5_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__minlocval_3_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__power_7_f90.test
********************
Executable Missing Tests (15):
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__array_constructor_23_f.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__boz_15_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__c_f_pointer_complex_f03.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__findloc_8_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__gamma_4_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__internal_pack_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__intrinsic_pack_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__intrinsic_spread_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__intrinsic_unpack_2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__pr35944-2_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__transpose_reshape_r10_f90.test
test-suite :: Fortran/gfortran/regression/gfortran-regression-execute-regression__unf_io_convert_3_f90.test
test-suite :: Fortran/gfortran/regression/ieee/gfortran-regression-execute-regression__ieee__signaling_1_f90.test
test-suite :: Fortran/gfortran/regression/ieee/gfortran-regression-execute-regression__ieee__signaling_2_f90.test
test-suite :: Fortran/gfortran/regression/ieee/gfortran-regression-execute-regression__ieee__signaling_3_f90.test
Testing Time: 998.25s
Total Discovered Tests: 6412
Passed : 6387 (99.61%)
Failed : 10 (0.16%)
Executable Missing: 15 (0.23%)
```
>From the failing tests I did a grep search for bind(c) and there was only `c_char_tests_5.f90` that uses it. However it doesn't use derived-types so this is also an unrelated failure.
The missing executables are because I had to disable some tests regarding unsupported real-types (similar to power-pc in override.yaml).
https://github.com/llvm/llvm-project/pull/198335
More information about the flang-commits
mailing list