Mercurial > hg > openjdk > jdk8u > hotspot
changeset 9457:99e4a82f17e8 jdk8u302-b03
8138820: JDK Hotspot build fails with Xcode 7.0.1
Reviewed-by: iveresov
Contributed-by: stooke@redhat.com
author | twisti |
---|---|
date | Fri, 09 Oct 2015 09:09:05 -1000 |
parents | eeae3b9acc91 |
children | 77083cca26dd 4e83cd6c5eec |
files | make/bsd/makefiles/gcc.make |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/make/bsd/makefiles/gcc.make Fri Apr 09 12:30:04 2021 +0000 +++ b/make/bsd/makefiles/gcc.make Fri Oct 09 09:09:05 2015 -1000 @@ -313,10 +313,10 @@ # Work around some compiler bugs. ifeq ($(USE_CLANG), true) - ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 2), 1) - OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) - OPT_CFLAGS/unsafe.o += -O1 - endif + # Known to fail with clang <= 7.0; + # do no optimize these on later clang until verified + OPT_CFLAGS/loopTransform.o += $(OPT_CFLAGS/NOOPT) + OPT_CFLAGS/unsafe.o += -O1 else # 6835796. Problem in GCC 4.3.0 with mulnode.o optimized compilation. ifeq ($(shell expr $(CC_VER_MAJOR) = 4 \& $(CC_VER_MINOR) = 3), 1)