-
Notifications
You must be signed in to change notification settings - Fork 15.5k
[flang][NFC] Document an intentional violation of the ISO standard #172105
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
base: main
Are you sure you want to change the base?
Conversation
tarunprabhu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of suggestions.
flang/docs/Extensions.md
Outdated
| the same way as the static presence or absence of the argument does | ||
| at compilation time, which would not be possible.) | ||
| No compiler seems to enforce this requirement, and we interpret it | ||
| to mean that a`OPTIONAL` dummy argument may appear but must be present |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| to mean that a`OPTIONAL` dummy argument may appear but must be present | |
| to mean that an `OPTIONAL` dummy argument may appear, but must be present |
flang/docs/Extensions.md
Outdated
| presence at runtime could affect the semantics of the intrinsic in | ||
| the same way as the static presence or absence of the argument does | ||
| at compilation time, which would not be possible.) | ||
| No compiler seems to enforce this requirement, and we interpret it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| No compiler seems to enforce this requirement, and we interpret it | |
| No compiler seems to enforce this requirement. We interpret it |
This compiler (like all others) allows OPTIONAL dummy arguments to appear as arguments to some intrinsic functions that are specified as disallowing them; document this interpretation better.
| the same way as the static presence or absence of the argument does | ||
| at compilation time, which would not be possible.) | ||
| No compiler seems to enforce this requirement. | ||
| We interpret it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange line break?
This compiler (like all others) allows OPTIONAL dummy arguments to appear as arguments to some intrinsic functions that are specified as disallowing them; document this interpretation better.