Issue 139600
Summary [flang] Missing diagnostic on intrinsic `SIZE` when the argumen `DIM` is equal to the rank.
Labels flang:frontend
Assignees
Reporter DanielCChen
    Consider the following code:
```
implicit none
real :: a(10, 10)
print*, size(a, dim=2)
end
```

The standard requires the DIM argument to be less than the rank of SOUCE. This usage should be diagnosed.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to