Issue 137640
Summary [flang] Parser error in fixed-form
Labels flang:frontend
Assignees
Reporter DanielCChen
    Consider the following code:
```
          program pointer4e
          if ((ifac1 (4) .ne. 24) .or. (ifac2 (4) .ne. 24)) ERROR STOP(5)
 end
```

When compile it with `-ffixed-form`, flang issues an error as
```
./pointer4e.f:2:71: error: Unmatched '('
            if ((ifac1 (4) .ne. 24) .or. (ifac2 (4) .ne. 24)) ERROR STOP(5)
 ^
```

It compiles fine if I used `-ffree-form`.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to