Disable strict alias analysis in the backend c compiler, as the code we

generate is not TBAA safe.

llvm-svn: 12774
This commit is contained in:
Chris Lattner 2004-04-08 15:18:59 +00:00
parent a182f5bf48
commit d61b13c6e2
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ int llvm::GenerateNative(const std::string &OutputFilename,
// and linker because we don't know where to put the _start symbol.
// GCC mysteriously knows how to do it.
cmd.push_back(gcc.c_str());
cmd.push_back("-fno-strict-aliasing");
cmd.push_back("-O3");
cmd.push_back("-o");
cmd.push_back(OutputFilename.c_str());