[flang-commits] [flang] [flang] Handle Hollerith in data statement initialization in big endian (PR #103451)
    Rainer Orth via flang-commits 
    flang-commits at lists.llvm.org
       
    Thu Aug 22 07:39:02 PDT 2024
    
    
  
rorth wrote:
This patch broke the test on Solaris/sparcv9: 
```flang/test/Semantics/data08.f90:9:7: error: LE: expected string not found in input
! LE: jx (InDataStmt) size=4 offset=0: ObjectEntity type: INTEGER(4) init:1684234849_4
      ^
```
Although SPARC is big-endian, this test (like some others) assume everything but AIX is little-endian.  Seems pretty disingenious to me having to explicitly list every big-endian system in every affected test rather than having some `lit` keyword for this feature.
https://github.com/llvm/llvm-project/pull/103451
    
    
More information about the flang-commits
mailing list