# HG changeset patch # User Stefan Anzinger # Date 1444664934 25200 # Node ID 3c930af2304b19161e76a425618ae304037ba874 # Parent 9c2d52a1a921cbe17380834d9383dbdbbdf15ca8 Add fno-tree-loop-distribute-patterns to SPARC/Linux makefile diff -r 9c2d52a1a921 -r 3c930af2304b make/linux/makefiles/sparcv9.make --- 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