summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-08 15:18:03 +0000
committerChris Lattner <sabre@nondot.org>2004-04-08 15:18:03 +0000
commita182f5bf48d38967588b81a1271d0be7b371298e (patch)
treebcecb8d668157a54e981476e9ac68ed3babbf562 /llvm/tools
parent177fe8d82fe2bffaa31ac1c07e6d5aa3d857048b (diff)
downloadbcm5719-llvm-a182f5bf48d38967588b81a1271d0be7b371298e.tar.gz
bcm5719-llvm-a182f5bf48d38967588b81a1271d0be7b371298e.zip
Revert previous patch, I'm a moron :)
llvm-svn: 12773
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/gccld/GenerateCode.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/tools/gccld/GenerateCode.cpp b/llvm/tools/gccld/GenerateCode.cpp
index 7a8f54ada09..d6fad5f774b 100644
--- a/llvm/tools/gccld/GenerateCode.cpp
+++ b/llvm/tools/gccld/GenerateCode.cpp
@@ -176,16 +176,15 @@ int llvm::GenerateCFile(const std::string &OutputFile,
const std::string &InputFile,
const std::string &llc, char ** const envp) {
// Run LLC to convert the bytecode file into C.
- const char *cmd[8];
+ const char *cmd[7];
cmd[0] = llc.c_str();
cmd[1] = "-march=c";
cmd[2] = "-f";
- cmd[3] = "-fno-strict-aliasing";
- cmd[4] = "-o";
- cmd[5] = OutputFile.c_str();
- cmd[6] = InputFile.c_str();
- cmd[7] = 0;
+ cmd[3] = "-o";
+ cmd[4] = OutputFile.c_str();
+ cmd[5] = InputFile.c_str();
+ cmd[6] = 0;
return ExecWait(cmd, envp);
}
OpenPOWER on IntegriCloud