Title: [165654] trunk
Revision
165654
Author
zandober...@gmail.com
Date
2014-03-14 14:53:22 -0700 (Fri, 14 Mar 2014)

Log Message

[CMake] Remove -fno-tree-sra workaround for GCC 4.5
https://bugs.webkit.org/show_bug.cgi?id=130258

Reviewed by Martin Robinson.

GCC compilers 4.7 and later are supported, so there's no need for disabling
the -ftree-sra optimization which was causing problems when enabled on GCC 4.5.

* Source/cmake/WebKitHelpers.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (165653 => 165654)


--- trunk/ChangeLog	2014-03-14 21:50:59 UTC (rev 165653)
+++ trunk/ChangeLog	2014-03-14 21:53:22 UTC (rev 165654)
@@ -1,3 +1,15 @@
+2014-03-14  Zan Dobersek  <zdober...@igalia.com>
+
+        [CMake] Remove -fno-tree-sra workaround for GCC 4.5
+        https://bugs.webkit.org/show_bug.cgi?id=130258
+
+        Reviewed by Martin Robinson.
+
+        GCC compilers 4.7 and later are supported, so there's no need for disabling
+        the -ftree-sra optimization which was causing problems when enabled on GCC 4.5.
+
+        * Source/cmake/WebKitHelpers.cmake:
+
 2014-03-14  Landry Breuil  <lan...@openbsd.org>
 
         Add autotools boilerplate for proper os defines on OpenBSD/NetBSD/DragonFly

Modified: trunk/Source/cmake/WebKitHelpers.cmake (165653 => 165654)


--- trunk/Source/cmake/WebKitHelpers.cmake	2014-03-14 21:50:59 UTC (rev 165653)
+++ trunk/Source/cmake/WebKitHelpers.cmake	2014-03-14 21:53:22 UTC (rev 165654)
@@ -18,12 +18,6 @@
             EXEC_PROGRAM("${CMAKE_CXX_COMPILER} -E -Wp,-dM - < /dev/null | grep '#define __VERSION__' | grep -E -o '[0-9]+\\.[0-9]+\\.?[0-9]+?'" OUTPUT_VARIABLE COMPILER_VERSION)
         endif ()
 
-        # Disable some optimizations on buggy compiler versions
-        # GCC 4.5.1 does not implement -ftree-sra correctly
-        if (${COMPILER_VERSION} STREQUAL "4.5.1")
-            set(OLD_COMPILE_FLAGS "-fno-tree-sra ${OLD_COMPILE_FLAGS}")
-        endif ()
-
         # For GTK+ we will rely on a linker script to deal with symbol visibility on
         # production builds, we want all symbols visible for development builds.
         if (NOT SHARED_CORE AND NOT ${PORT} STREQUAL "GTK")
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to