[llvm-commits] [llvm] r52027 - /llvm/trunk/Makefile.rules
Evan Cheng
evan.cheng at apple.com
Thu Jun 5 16:00:08 PDT 2008
Author: evancheng
Date: Thu Jun 5 18:00:08 2008
New Revision: 52027
URL: http://llvm.org/viewvc/llvm-project?rev=52027&view=rev
Log:
Warn of potential violations of strict aliasing rules.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=52027&r1=52026&r2=52027&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Thu Jun 5 18:00:08 2008
@@ -226,7 +226,7 @@
# Darwin requires -fstrict-aliasing to be explicitly enabled.
ifeq ($(OS),Darwin)
- EXTRA_OPTIONS += -fstrict-aliasing
+ EXTRA_OPTIONS += -fstrict-aliasing -Wstrict-aliasing
endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
More information about the llvm-commits
mailing list