[flang-commits] [flang] [flang] Accept C-style comments in label fields (PR #207012)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Sun Jul 19 20:19:39 PDT 2026


eugeneepshteyn wrote:

Please also try this program:
```
      program p
      integer :: y, x
      y = 3
      x = y
     /* 2
      print *, x
      end
```
Here `/` is in column 6, so should be treated as a continuation character. (Many compilers parse this as `x = y * 2`)

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


More information about the flang-commits mailing list