From: Chris Lattner Date: Tue, 22 Oct 2002 23:35:28 +0000 (+0000) Subject: Disable optimization that doesn't apply to C X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f924b2de08d21a6354ef3c91f56bcb5f69ba2051;p=oota-llvm.git Disable optimization that doesn't apply to C git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4264 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.common b/Makefile.common index e3599bb9d0c..7518f7ff6e9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -163,7 +163,7 @@ CompileP := $(CompileO) $(PROFILE) # Compile a c file, don't link... CompileC := $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts) CompileCG := $(CompileC) -g -D_DEBUG -CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug +CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug CompileCP := $(CompileCO) $(PROFILE) diff --git a/Makefile.rules b/Makefile.rules index e3599bb9d0c..7518f7ff6e9 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -163,7 +163,7 @@ CompileP := $(CompileO) $(PROFILE) # Compile a c file, don't link... CompileC := $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts) CompileCG := $(CompileC) -g -D_DEBUG -CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug +CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug CompileCP := $(CompileCO) $(PROFILE)