-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
[Flang] Incorrect diagnose on SELECT TYPE selector #81910
Comments
@llvm/issue-subscribers-flang-frontend Author: Daniel Chen (DanielCChen)
Consider the following code:
```
module m
type base
integer i
end type
end module
subroutine sub(arg)
error: Semantic errors in t.f
|
@llvm/issue-subscribers-bug Author: Daniel Chen (DanielCChen)
Consider the following code:
```
module m
type base
integer i
end type
end module
subroutine sub(arg)
error: Semantic errors in t.f
|
Include variable selectors ("select type (x => y)") as a context in which a whole assumed-size array may legitimately appear. Fixes llvm#81910.
Include variable selectors ("select type (x => y)") as a context in which a whole assumed-size array may legitimately appear. Fixes llvm#81910.
Include variable selectors ("select type (x => y)") as a context in which a whole assumed-size array may legitimately appear. Fixes llvm#81910.
Include variable selectors ("select type (x => y)") as a context in which a whole assumed-size array may legitimately appear. Fixes llvm#81910.
Include variable selectors ("select type (x => y)") as a context in which a whole assumed-size array may legitimately appear. Fixes #81910.
Consider the following code:
Flang currently issues an error as:
It doesn't seem correct to me. The SELECT TYPE inquires the dynamic type of the
selctor
. It shouldn't matter if it is a assumed-size whole array or not.The text was updated successfully, but these errors were encountered: