diff options
author | Tatiana Borisova <tatiana.borisova@qt.io> | 2021-12-03 16:03:10 +0200 |
---|---|---|
committer | Tatiana Borisova <tatiana.borisova@qt.io> | 2021-12-06 18:53:50 +0000 |
commit | eba9196304dcc9129a7bb68db87c6fb42c953090 (patch) | |
tree | 90d578dae77f64c0826a9d2837a4a443677f5801 /src/corelib/global | |
parent | be63c3011b2a841a2e84b70751ca5a76dbb03f3a (diff) |
Fix tst_qfloat16 runtime failure for INTEGRITY
- GHS compiler is not fully compliant with iec559. Therefore we need
to update is_iec559 checking for GHS case.
Pick-to: 6.2
Change-Id: Ia094509d26bf5f0109f2937547a056267019cffb
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 45dfe21842..7cb472a6b5 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -150,7 +150,7 @@ static_assert(sizeof(wchar_t) == sizeof(char32_t) || sizeof(wchar_t) == sizeof(c // denormals where GHS compiler is relying hardware behavior that is not IEC // 559 compliant. So split the check in several subchecks. -// On GHC the compiler reports std::numeric_limits<float>::is_iec559 as false. +// On GHS the compiler reports std::numeric_limits<float>::is_iec559 as false. // This is all right according to our needs. #if !defined(Q_CC_GHS) static_assert(std::numeric_limits<float>::is_iec559, |