Issue 178713
Summary Flang fails to parse the unlimited format item list
Labels flang
Assignees
Reporter arrowd
    I'm compiling https://github.com/grimme-lab/xtb with Flang 21. The compilation fails on https://github.com/grimme-lab/xtb/blob/v6.5.1/src/main/json.f90#L274 with

```
error: Semantic errors in /wrkdirs/usr/ports/science/xtb/work/xtb-6.5.1/src/main/json.f90
/wrkdirs/usr/ports/science/xtb/work/xtb-6.5.1/src/main/json.f90:274:41: error: Character in format after unlimited format item list
        write (iunit, '(3x,"[",*(i7,:,","),"]",/)', advance='no') topo%nb(:, n)
 ^
```

The newest version of this software have a bit different format strings in there, so I'm not sure if this a Flang bug or Flang is actually correct here. If I get a chance to try the newest version of xtb, I'll report back in this issue.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to