Reference-LAPACK / lapack

LAPACK development repository
Other
1.49k stars 436 forks source link

Configurable type of hidden Fortran strlen arguments #1025

Closed ACSimon33 closed 3 months ago

ACSimon33 commented 3 months ago

Description

Old GFortran versions (GCC < 8) use int instead of size_t for the hidden strlen arguments appended for the char arrays. See https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gfortran/Argument-passing-conventions.html.

NAG Fortran still uses int by default. On Linux x86_64, it is configurable via the -abi=... flag.

Intel always used size_t (I think).