changeset 22677:3c930af2304b

Add fno-tree-loop-distribute-patterns to SPARC/Linux makefile
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Mon, 12 Oct 2015 08:48:54 -0700
parents 9c2d52a1a921
children 3088a32d27af
files make/linux/makefiles/sparcv9.make
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/sparcv9.make	Mon Oct 12 08:47:39 2015 -0700
+++ b/make/linux/makefiles/sparcv9.make	Mon Oct 12 08:48:54 2015 -0700
@@ -24,4 +24,7 @@
 # gcc 4.0 miscompiles this code in -m64
 OPT_CFLAGS/macro.o = -O0
 
+# gcc 4.9.1 optimizes templateInterpreter.cpp copy_table with memcpy which does not work on SPARC
+OPT_FLAGS += -fno-tree-loop-distribute-patterns
+
 CFLAGS += -D_LP64=1