| Issue |
84208
|
| Summary |
[flang] Extension: support BOZ literals in additional contexts
|
| Labels |
flang
|
| Assignees |
|
| Reporter |
DavidTruby
|
gfortran provides an extension to allow BOZ literals outside DATA statements or INT/REAL/CMPLX intrinsics (under the -fallow-invalid-boz flag) . OpenRadioss uses this extension to allow BOZ literals in assignments, for example:
```
program test
integer :: x
x = B'1101'
print *, x
end program
```
This currently prints the error: `not yet implemented: BOZ`
We should consider allowing this only under an additional flag (as gfortran does), and providing a better error in the case where it isn't allowed.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs