summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qarraydataops.h
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-12-01 12:54:50 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-11 12:07:21 +0100
commitbd0b49efe0bf63b359fc315757a9de547d557802 (patch)
treea2cb3cfb93dc873f9fc67543934e2a193c37160c /src/corelib/tools/qarraydataops.h
parent390eec325b25a142ce2204f1d1950621d4a519e3 (diff)
Add test for GCC bug #43247
A bug has been reported against GCC 4.4.3 (present in other version as well), where the use of an array of size 1 to implement dynamic arrays (such as QVector) leads to incorrect results in optimized builds as the compiler assumes the index to be 0. This test tries to ensure QArrayDataHeader is not affected by this bug, as QVector currently is. Change-Id: Id701496bae4d74170de43399c1062da40eb078e7 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qarraydataops.h')
0 files changed, 0 insertions, 0 deletions