Skip to content

Allow overriding of CFI_MAX_RANK by conditionally setting it to 15 if… #102048

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

Merged
merged 4 commits into from
Aug 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions flang/include/flang/ISO_Fortran_binding.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
/* 18.5.4 */
#define CFI_VERSION 20240719

#if !defined CFI_MAX_RANK || !defined __OVERRIDE_CFI_MAX_RANK
#define CFI_MAX_RANK 15
#endif
typedef unsigned char CFI_rank_t;

/* This type is probably larger than a default Fortran INTEGER
Expand Down
Loading