| Issue |
166091
|
| Summary |
[flang] P descriptor for I descriptor should raise compilation/runtime error
|
| Labels |
flang
|
| Assignees |
|
| Reporter |
foxtran
|
For the following code:
```Fortran
program P_test
print '(3PI3)', 3
print '(3PF8.3)', 3.0
end program P_test
```
P can be used only for F description. However, current implementation allows to use P with I description.
For details, see 10.7.5 of Fortran 2003 Draft.
See example here:
https://godbolt.org/z/Y1be31h6c
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs