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

LOCAL_INIT() semantics need to be defined in more detail #309

Open
klausler opened this issue Aug 1, 2023 · 0 comments
Open

LOCAL_INIT() semantics need to be defined in more detail #309

klausler opened this issue Aug 1, 2023 · 0 comments

Comments

@klausler
Copy link

klausler commented Aug 1, 2023

The standards state that a LOCAL_INIT() clause on DO CONCURRENT is a definition of the named construct entity, but neglect to specify exactly with what value the entity is being defined, or whether or not defined assignment may come into play. Maybe the LOCAL_INIT() construct entity is meant to be defined with the value of the variable of the same name in the enclosing scope, but as F'202X is written, I think that a compiler could define it with all zero bits on each iteration and still claim to conform.

Compilers that implement LOCAL_INIT() on derived type variables do not appear to apply defined assignments, which may or may not be correct.

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