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

InlineTrans for routines with optional arguments: Handling non-trivial cases of PRESENT(...) in if-branches #2802

Open
schreiberx opened this issue Nov 24, 2024 · 0 comments

Comments

@schreiberx
Copy link
Collaborator

PR #2801 will introduce some preliminary support of optional arguments.

This only covers simple cases such as

if (PRESENT(var)) then
...
else
...
end if

where the else-branch can be dropped.

Other cases using different conditionals not directly based on PRESENT(...) are not yet supported.
E.g. if (PRESENT(var) .and. PRESENT(var2)).

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

No branches or pull requests

1 participant