From a59f71adea128a7a50f17615b57bc728bdeaf706 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 18 Aug 2003 22:32:48 +0000 Subject: [PATCH] no-strict-aliasing redux git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7965 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/bugpoint/ExecutionDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index a9803f29e42..a89aaec4d3c 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 -- 2.34.1