Issue |
117372
|
Summary |
[Flang] Failed to compile CHARACTER type declaration statement for array
|
Labels |
bug,
flang:frontend
|
Assignees |
|
Reporter |
DanielCChen
|
Flang failed to compile the following code
```
character cv3*(3)(3)
end
>flang-new -ffree-form ch1.f
error: Could not parse ch1.f
./ch1.f:1:18: error: expected end of statement
character cc*(3)(3)
^
./ch1.f:1:1: in the context: specification construct
character cc*(3)(3)
^
./ch1.f:1:1: in the context: declaration construct
character cc*(3)(3)
^
./ch1.f:1:1: in the context: specification part
character cc*(3)(3)
^
./ch1.f:1:1: in the context: main program
character cc*(3)(3)
^
```
gfortran issues an error also.
XLF and ifort both compile it successfully.
The code seems standard conforming to me.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs