summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-09-14 18:22:12 +0200
committerMarc Mutz <marc.mutz@qt.io>2023-12-09 05:29:23 +0100
commit28f1eb6c838529675613f05f990255d3b0a22f3a (patch)
tree7fc362cc7a6572cd8768af1e5f4885802f5c56b1 /qmake
parentecef7046245f3adee9366d3543e4ed2a09f65735 (diff)
tst_QGlobal: work around ubsan issue in toString(qint128)HEADdev
Found a problem on GCC 9.4 where asan/ubsan seems to break std::numeric_limits<int128>::min(): runtime error: negation of 0x80000000000000000000000000000000 cannot be represented in type '__int128'; cast to an unsigned type to negate this value to itself This is the -i _after_ we've already checked for ::min() two lines above. It works with Q_INT128_MIN, though, so use that. Pick-to: 6.6 Change-Id: I778980baf4e7eea9f8de06697d792241314acacd Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions