[libcxx-commits] [libcxx] [FIX] Fix the function isctype failed in arm64-big-endian (PR #73200)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 23 17:59:54 PST 2023
================
@@ -384,7 +384,7 @@ public:
static const mask punct = _ISpunct;
static const mask xdigit = _ISxdigit;
static const mask blank = _ISblank;
-#if defined(__mips__)
+#if defined(__mips__) || (BYTE_ORDER == BIG_ENDIAN)
----------------
W-50243 wrote:
Obtaining the character mask in the function 'isctype'. It gets the character mask by reading compiler character mask table. The compiler character mask table depends on whether the platform is arm64be or arm64le.
https://github.com/llvm/llvm-project/pull/73200
More information about the libcxx-commits
mailing list