[flang-commits] [flang] [flang] Modifications to ieee floating point environment procedures (PR #121949)

Rainer Orth via flang-commits flang-commits at lists.llvm.org
Wed Jan 8 02:28:14 PST 2025


rorth wrote:

While this version builds on Solaris (both sparcv9 and amd64) and shows clean test results on Solaris/amd64, SPARC is different: on both Solaris/sparcv9 (which lacks `femode_t`) and Linux/sparc64 (which has it) I get two test failures:
```
  Flang :: Lower/Intrinsics/ieee_femodes.f90
  Flang :: Lower/Intrinsics/ieee_festatus.f90
```
On both Solaris and LInux I get
```
/vol/llvm/src/llvm-project/local/flang/test/Lower/Intrinsics/ieee_femodes.f90:35:11: error: CHECK: expected string not found in input
 ! CHECK: %[[V_98:[0-9]+]] = fir.convert %[[V_60]]#1 : (!fir.ref<!fir.type<_QM__fortran_ieee_exceptionsTieee_modes_type{_QM__fortran_ieee_exceptionsTieee_modes_type.__data:!fir.array<2xi32>,_QM__fortran_ieee_exceptionsTieee_modes_type.__allocatable_data:!fir.box<!fir.heap<!fir.array<?xi8>>>}>>) -> !fir.ref<i32>
          ^
<stdin>:85:37: note: scanning from here
 fir.store %77 to %75 : !fir.ref<i8>
                                    ^
<stdin>:85:37: note: with "V_60" equal to "60" 
 fir.store %77 to %75 : !fir.ref<i8>
                                    ^
```

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


More information about the flang-commits mailing list