| Issue |
76978
|
| Summary |
Compilation Error of DO CONCURRENT Construct in BLOCK Construct
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
everythingfunctional
|
The following simple program produces an erroneous message.
```fortran
block
integer :: i
do concurrent (i = 1 : 4)
print *, i
end do
end block
end
```
```text
bprichar@perlmutter:login15:~> /global/common/software/nersc/pe/gpu/llvm/17.0.6/bin/flang-new example.f90
error: Semantic errors in example.f90
./example.f90:3:18: error: Index name 'i' conflicts with existing identifier
do concurrent (i = 1 : 4)
^
./example.f90:2:14: Previous declaration of 'i'
integer :: i
^
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs