[flang-commits] [flang] [flang] Adjust _FORTRAN_RUNTIME_IEEE_FENV_T_EXTENT for Solaris (PR #74590)
via flang-commits
flang-commits at lists.llvm.org
Wed Dec 6 11:09:15 PST 2023
vdonaldson wrote:
@rorth Thanks for addressing this problem.
Can you provide the solaris sizeof(fenv_t) value? Is it actually 50*4=200 bytes?
Note that this change will affect memory use for all other systems.
What is the build failure? Does removing this assert in `exceptions.cpp` resolve the solaris build problem?
```
static_assert(
sizeof(fenv_t) <= sizeof(int) * _FORTRAN_RUNTIME_IEEE_FENV_T_EXTENT,
"increase ieee_status_type size");
```
If yes, that would be a better choice for now.
https://github.com/llvm/llvm-project/pull/74590
More information about the flang-commits
mailing list