Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable type of hidden Fortran strlen arguments #1025

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

ACSimon33
Copy link
Contributor

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).

@langou langou merged commit 2121711 into Reference-LAPACK:master Jun 19, 2024
12 checks passed
@ACSimon33 ACSimon33 deleted the fortran_strlen_types branch June 19, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants