Issue 145333
Summary [flang] Parser has issues with DATA statement
Labels flang
Assignees
Reporter mjklemm
    It seems like PR #135406 broke certain forms (badly :-)) formatted `DATA` statements.  Reproducer:

```Fortran
      subroutine rout()
      real, dimension(29) :: arr1, arr2
      data arr1/1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11
     $ ,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11,1.11
     $ ,1.11,1.11,1.11,1.11,1.11,1.11,1.11/, arr2/1 .11E
     $ -11,1.11E-11,1.11E-11,1.11E-11,1.11E-11,1.11E -11,1.11E -11,1
     $ .11E-11,1.11E+11,1.11E+11,1.11E+11,1.11E+11,1 .11E+11,1 .11E
     $ +11,1.11E+11,1.11E+11,1.11E+11,1.11E+11,1.11E+11 ,1.11E +11,1
     $ .11E+11,1.11E-11,1.11E-11,1.11E-11,1.11E-11,1.11E -11,1 .11E
     $ -11,1.11E-11,1.11E-11/
      end subroutine rout
```

Compile with `flang -c reproducer.F`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to