No, we are not avoiding -O3, just -fstrict-aliasing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2009-04-20 22:49:59 +00:00
parent 23300aa3e3
commit ea84e93a42

View File

@ -247,8 +247,8 @@ ifeq ($(ENABLE_OPTIMIZED),1)
endif
# Darwin requires -fstrict-aliasing to be explicitly enabled.
# Avoid -O3 on Darwin for now, there are unresolved issues with
# -fstrict-aliasing and ipa-type-escape radr://6756684
# Avoid -fstrict-aliasing on Darwin for now, there are unresolved issues
# with -fstrict-aliasing and ipa-type-escape radr://6756684
#ifeq ($(OS),Darwin)
# EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing
#endif