Disable optimization that doesn't apply to C
authorChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 23:35:28 +0000 (23:35 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 22 Oct 2002 23:35:28 +0000 (23:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4264 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index e3599bb9d0cf97fe0f5783985f6cb371eb85cc94..7518f7ff6e9ebd25ef11deb5c13e491df2e81bca 100644 (file)
@@ -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)
 
 
index e3599bb9d0cf97fe0f5783985f6cb371eb85cc94..7518f7ff6e9ebd25ef11deb5c13e491df2e81bca 100644 (file)
@@ -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)