Revert previous patch, I'm a moron :)
authorChris Lattner <sabre@nondot.org>
Thu, 8 Apr 2004 15:18:03 +0000 (15:18 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Apr 2004 15:18:03 +0000 (15:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12773 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gccld/GenerateCode.cpp

index 7a8f54ada09b5fd0515f9ecbc651a7f817aa207b..d6fad5f774ba684283ef73103a6df8048336e618 100644 (file)
@@ -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);
 }