--- nono/exp/optestm88k/optestm88k_gen.cpp 2026/04/29 17:05:04 1.1.1.3 +++ nono/exp/optestm88k/optestm88k_gen.cpp 2026/04/29 17:05:16 1.1.1.5 @@ -41,7 +41,6 @@ #include #include #include -#include #include #include @@ -51,7 +50,7 @@ struct fpi double d {}; uint64 q; // float は h の位置に置く -#if _BYTE_ORDER == _LITTLE_ENDIAN +#if BYTE_ORDER == LITTLE_ENDIAN struct { uint32 l, h; }; struct { float dummy_f, f; }; struct { uint32 dummy_i, i; }; @@ -348,7 +347,7 @@ setround(uint32 rm) mode = FE_UPWARD; break; default: - __unreachable(); + PANIC("corrupted rm=%d", rm); } std::fesetround(mode); }