mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Disable strict alias analysis in the backend c compiler, as the code we
generate is not TBAA safe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12774 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67e0a34178
commit
a1346a2619
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user