1From b1fe803c677c96a1228cd828fcf495143c138192 Mon Sep 17 00:00:00 2001 2From: Nickey Yang <nickey.yang@rock-chips.com> 3Date: Thu, 2 Aug 2018 17:06:51 +0800 4Subject: [PATCH 3/4] qt5declarative: src: add Q_NEVER_INLINE in writeProperty 5 6gcc compiler optimizations will cause crash on cortex_a17 platform 7So fix it. 8 9Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> 10Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> 11Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> 12--- 13 src/qml/qml/qqmlpropertydata_p.h | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/src/qml/qml/qqmlpropertydata_p.h b/src/qml/qml/qqmlpropertydata_p.h 17index d985579..5acef89 100644 18--- a/src/qml/qml/qqmlpropertydata_p.h 19+++ b/src/qml/qml/qqmlpropertydata_p.h 20@@ -367,7 +367,7 @@ public: 21 QMetaObject::metacall(target, QMetaObject::ReadProperty, coreIndex(), args); 22 } 23 24- bool writeProperty(QObject *target, void *value, WriteFlags flags) const 25+ Q_NEVER_INLINE bool writeProperty(QObject *target, void *value, WriteFlags flags) const 26 { 27 int status = -1; 28 void *argv[] = { value, nullptr, &status, &flags }; 29-- 302.20.1 31 32