ofc
ofc copied to clipboard
Open Fortran Compiler
I get "Literal too large for compiler" error from the following contexts: ``` Error:./mma114.f:79,22: Literal too large for compiler ZDC( IDX4+J ) = (0.0,0.0) ^ ``` ``` Error:./mma403.f:91,29: Literal too...
This code is actually valid: ``` Error:./ktshld.f:121,30: Invalid initializer DATA BLANK , NAME / 4H , 4HTRSH, 4HL / ^ ``` because Hollerith constants may have whitespaces, and they are...
For the attached file I get: ``` Error:./ascm04.f:17,21: Incompatible types in initializer DATA SLASH / 1H/ / ``` [ascm04.f.gz](https://github.com/CodethinkLabs/ofc/files/13500278/ascm04.f.gz)
Currently we don't check that EQUIVALENCE statements are valid, and compatible with COMMON block rules. To do this we'll need to generate a memory map, and error on any unresolvable...