We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc792c commit 13e2200Copy full SHA for 13e2200
flang/runtime/exceptions.cpp
@@ -77,12 +77,8 @@ std::int32_t RTNAME(MapException)(int32_t except) {
77
78
// Verify that the size of ieee_modes_type and ieee_status_type objects from
79
// intrinsic module file __fortran_ieee_exceptions.f90 are large enough to
80
-// hold femode_t and fenv_t objects, respectively.
81
-#ifndef _WIN32
82
-static_assert(
83
- sizeof(femode_t) <= sizeof(int) * _FORTRAN_RUNTIME_IEEE_FEMODE_T_EXTENT,
84
- "increase ieee_modes_type size");
85
-#endif
+// hold fenv_t object.
+// TODO: consider femode_t object size comparison once its more mature.
86
static_assert(
87
sizeof(fenv_t) <= sizeof(int) * _FORTRAN_RUNTIME_IEEE_FENV_T_EXTENT,
88
"increase ieee_status_type size");
0 commit comments