1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

no-strict-aliasing redux

llvm-svn: 7965
This commit is contained in:
Chris Lattner 2003-08-18 22:32:48 +00:00
parent de8083df45
commit 31da13847a

View File

@ -174,7 +174,6 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
} else {
GCCArgs.push_back("assembler");
}
GCCArgs.push_back(ProgramFile.c_str()); // Specify the input filename...
GCCArgs.push_back("-o");
GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file...
@ -217,6 +216,7 @@ int GCC::MakeSharedObject(const std::string &InputFile,
const char* GCCArgs[] = {
GCCPath.c_str(),
"-x", (fileType == AsmFile) ? "assembler" : "c",
"-fno-strict-aliasing",
InputFile.c_str(), // Specify the input filename...
#if defined(sparc) || defined(__sparc__) || defined(__sparcv9)
"-G", // Compile a shared library, `-G' for Sparc