Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.12.5
-
None
-
-
d55dad94f984333c11a7f01fbd5d8c07e405129f (qt/qtbase/5.15)
Description
In qatomic_cxx11.h, line 190 the code reads:
#if QT_CONFIG(std_atomic64)
template<> struct QAtomicOpsSupport<8> { enum
; };
- define Q_ATOMIC_INT64_IS_SUPPORTED
- if ATOMIC_LLONG_LOCK_FREE == 2
- define Q_ATOMIC_INT16_REFERENCE_COUNTING_IS_ALWAYS_NATIVE
- define Q_ATOMIC_INT16_TEST_AND_SET_IS_ALWAYS_NATIVE
- define Q_ATOMIC_INT16_FETCH_AND_STORE_IS_ALWAYS_NATIVE
- define Q_ATOMIC_INT16_FETCH_AND_ADD_IS_ALWAYS_NATIVE
...
Defining macros for 16 bits instead of the 64 bits macros.
Seems like a typical copy & paste bug.
Attachments
For Gerrit Dashboard: QTBUG-82864 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
293851,2 | 64-bit atomics: fix bad copy/paste in macro definitions | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |