diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-08 15:18:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-08 15:18:03 +0000 |
commit | 67e0a341782d7e07bc51677152e5f6c52c7e2f1b (patch) | |
tree | d4ac4edefcd38d6a7e233374c3464492c5f1b347 /tools/gccld/GenerateCode.cpp | |
parent | 121f09fb0513747c81af30f3ca3308cb1b8b8f95 (diff) |
Revert previous patch, I'm a moron :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12773 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/GenerateCode.cpp')
-rw-r--r-- | tools/gccld/GenerateCode.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/gccld/GenerateCode.cpp b/tools/gccld/GenerateCode.cpp index 7a8f54ada0..d6fad5f774 100644 --- a/tools/gccld/GenerateCode.cpp +++ b/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); } |