aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-18 22:32:48 +0000
committerChris Lattner <sabre@nondot.org>2003-08-18 22:32:48 +0000
commita59f71adea128a7a50f17615b57bc728bdeaf706 (patch)
tree12c4fc15f8d458575ea0ff3bc819e6f5711b2ef3
parentc13115c6331178d1d351dbeb6e44c0cf93be16ff (diff)
no-strict-aliasing redux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7965 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/bugpoint/ExecutionDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp
index a9803f29e4..a89aaec4d3 100644
--- a/tools/bugpoint/ExecutionDriver.cpp
+++ b/tools/bugpoint/ExecutionDriver.cpp
@@ -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