[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 8 10:19:01 PDT 2004


Changes in directory llvm/tools/gccld:

GenerateCode.cpp updated: 1.24 -> 1.25

---
Log message:

Revert previous patch, I'm a moron :)


---
Diffs of the changes:  (+5 -6)

Index: llvm/tools/gccld/GenerateCode.cpp
diff -u llvm/tools/gccld/GenerateCode.cpp:1.24 llvm/tools/gccld/GenerateCode.cpp:1.25
--- llvm/tools/gccld/GenerateCode.cpp:1.24	Thu Apr  8 10:14:43 2004
+++ llvm/tools/gccld/GenerateCode.cpp	Thu Apr  8 10:18:03 2004
@@ -176,16 +176,15 @@
                         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);
 }
 





More information about the llvm-commits mailing list