[Libreoffice-commits] core.git: solenv/gbuild

Tor Lillqvist tml at collabora.com
Thu Apr 17 03:56:44 PDT 2014


 solenv/gbuild/platform/IOS_ARM_GCC.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04c3f6fe60c9406faf0867922eca8cd64a3bd19f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Apr 17 12:50:42 2014 +0300

    Using -Oz causes crash, revert to Os
    
    This is with the Xcode 5.1.1 tool-chain. Either a compiler bug, or
    some undefined behaviour in our code sensitive to compiler
    optimisation details.
    
    The crash we noticed was in sw/source/core/layout/paintfrm.cxx. (There
    might of course be more locations with similar behaviour.)
    
    Change-Id: I5d0f0aee369b2ca5fc77356f0a7cb88bec6cc58e

diff --git a/solenv/gbuild/platform/IOS_ARM_GCC.mk b/solenv/gbuild/platform/IOS_ARM_GCC.mk
index 27659c4..a85a4b6 100644
--- a/solenv/gbuild/platform/IOS_ARM_GCC.mk
+++ b/solenv/gbuild/platform/IOS_ARM_GCC.mk
@@ -26,7 +26,7 @@ ifeq ($(CXX),)
 $(error You must set CXX in the environment. See README.cross for example.)
 endif
 
-gb_COMPILERDEFAULTOPTFLAGS := -Oz
+gb_COMPILERDEFAULTOPTFLAGS := -Os
 
 include $(GBUILDDIR)/platform/com_GCC_defs.mk
 


More information about the Libreoffice-commits mailing list