qt5base-lts/src
Erik Verbruggen d44ca1ed0b Remove type punning from QRgba64.
In C++, type punning with a union is not allowed. It will result in
compiler defined behavior at best, and undefined behavior at worst.
Specifically, if QRgba64 is passed to a function by value, the different
members of a struct might be passed in separate registers. This means
that any write to the quint64 might not blank out the values of the
struct whenever the compiler looses track with TBAA.

Change-Id: I991b5492fe4bb13a14bb670fef5bf13dacbe6c0a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
2015-08-11 11:01:27 +00:00
..
3rdparty Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
android Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
angle ANGLE: Fix compilation without d3d11 2015-05-28 06:52:01 +00:00
concurrent Doc: Qt Concurrent: Link to essential usage information 2015-04-07 14:38:29 +00:00
corelib Move Q_ALWAYS_INLINE next to Q_NEVER_INLINE in qglobal.h. 2015-08-11 11:00:31 +00:00
dbus Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev 2015-08-09 07:06:52 +00:00
gui Remove type punning from QRgba64. 2015-08-11 11:01:27 +00:00
network QNetworkReplyImpl: remove unused declarations 2015-08-11 09:40:47 +00:00
opengl Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
platformsupport OSX: Add initial FreeType support 2015-08-11 09:40:30 +00:00
plugins OSX: Add initial FreeType support 2015-08-11 09:40:30 +00:00
printsupport Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
sql QtSql: Use Q_NULLPTR instead of 0 in all public headers 2015-07-08 12:32:16 +00:00
testlib Merge remote-tracking branch 'origin/5.5' into dev 2015-08-06 10:54:01 +02:00
tools Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev 2015-08-09 07:06:52 +00:00
widgets Merge "Merge remote-tracking branch 'origin/5.5' into dev" into refs/staging/dev 2015-08-09 07:06:52 +00:00
winmain Use qthread_win.cpp for WinRT as well 2015-06-23 05:47:14 +00:00
xml QXmlSimpleReader: mark some types as primitive 2015-07-09 05:48:36 +00:00
src.pro Merge remote-tracking branch 'origin/5.5' into dev 2015-07-01 11:05:26 +02:00