[flang-commits] [clang] [flang] [Flang] Adding -ffree-line-length-<value> flag (PR #192941)

Sushant Gokhale via flang-commits flang-commits at lists.llvm.org
Wed May 20 22:41:19 PDT 2026


sushgokh wrote:

This commit is causing compilation failure with SPEC17 628.pop2_s FP SPEED benchmark

It shows following errors 
```
./obj/dlnd_comp_mod.f90:16:7: error: Cannot parse module file for module 'shr_strdata_mod': Incomplete character literal
    use shr_strdata_mod
        ^^^^^^^^^^^^^^^
./obj/dlnd_comp_mod.f90:69:8: error: Derived type 'shr_strdata_type' not found
    type(shr_strdata_type),save :: SDLND
         ^^^^^^^^^^^^^^^^
./obj/dlnd_comp_mod.f90:69:34: error: No explicit type declared for 'sdlnd'
    type(shr_strdata_type),save :: SDLND
                                   ^^^^^
./obj/dlnd_comp_mod.f90:70:8: error: Derived type 'shr_strdata_type' not found
    type(shr_strdata_type),save :: SDROF
         ^^^^^^^^^^^^^^^^
./obj/dlnd_comp_mod.f90:70:34: error: No explicit type declared for 'sdrof'
    type(shr_strdata_type),save :: SDROF
                                   ^^^^^
./obj/dlnd_comp_mod.f90:71:8: error: Derived type 'shr_strdata_type' not found
    type(shr_strdata_type),save :: SDSNO
         ^^^^^^^^^^^^^^^^
./obj/dlnd_comp_mod.f90:71:34: error: No explicit type declared for 'sdsno'
    type(shr_strdata_type),save :: SDSNO
                                   ^^^^^
error: Semantic errors in ./obj/datm_comp_mod.f90
./obj/datm_comp_mod.f90:18:7: error: Cannot parse module file for module 'shr_strdata_mod': Incomplete character literal
    use shr_strdata_mod
        ^^^^^^^^^^^^^^^
```


https://github.com/llvm/llvm-project/pull/192941


More information about the flang-commits mailing list