summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2016-09-01 11:17:23 +0200
committerAntti Kokko <antti.kokko@qt.io>2016-09-02 05:38:41 +0000
commitdcede8bbe1a4e1401679d42bf7179305771d0c5a (patch)
tree75a982cc1e24a1ea1e2c9de6e4d985d036f4f603
parentc14c382e6e8527be1129788ccca31309b032f99c (diff)
QtQml: Disable new optimizer of MSVC2015/Update 3
Add compiler option -d2SSAOptimizer- for this version of the compiler since it causes crashes. Task-number: QTBUG-55238 Change-Id: I9b38c669ad25f519150dd352b402dec982dc5555 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/qml/qml.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/qml.pro b/src/qml/qml.pro
index 651afa6b75..7c9eef6df1 100644
--- a/src/qml/qml.pro
+++ b/src/qml/qml.pro
@@ -21,6 +21,10 @@ greaterThan(QT_GCC_MAJOR_VERSION, 5) {
QMAKE_CXXFLAGS += -fno-delete-null-pointer-checks -fno-lifetime-dse
}
+# QTBUG-55238, disable new optimizer for MSVC 2015/Update 3.
+release:win32-msvc*:equals(QT_CL_MAJOR_VERSION, 19):equals(QT_CL_MINOR_VERSION, 00): \
+ greaterThan(QT_CL_PATCH_VERSION, 24212):QMAKE_CXXFLAGS += -d2SSAOptimizer-
+
QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf
# 2415: variable "xx" of static storage duration was declared but never referenced