diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 21:57:48 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-06-25 21:57:48 +0000 |
commit | cf17bcc7e73cf9dc1c8c74dae50a6694fb124f0f (patch) | |
tree | 2dc70dc7864bfaaad42fe9c5fb71f8917aa82a6b /tools/gccas/gccas.cpp | |
parent | 91e6388009bde429166a035a7f2fdffaee6007a2 (diff) | |
download | external_llvm-cf17bcc7e73cf9dc1c8c74dae50a6694fb124f0f.zip external_llvm-cf17bcc7e73cf9dc1c8c74dae50a6694fb124f0f.tar.gz external_llvm-cf17bcc7e73cf9dc1c8c74dae50a6694fb124f0f.tar.bz2 |
Changes for 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
-rw-r--r-- | tools/gccas/gccas.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/gccas/gccas.cpp b/tools/gccas/gccas.cpp index d7ce20b..8b06c32 100644 --- a/tools/gccas/gccas.cpp +++ b/tools/gccas/gccas.cpp @@ -21,6 +21,7 @@ #include "Support/Signals.h" #include <memory> #include <fstream> +using std::cerr; static cl::String InputFilename ("", "Parse <arg> file, compile to bytecode", cl::Required, ""); @@ -64,7 +65,7 @@ void AddConfiguredTransformationPasses(PassManager &PM) { addPass(PM, createRaisePointerReferencesPass());// Eliminate casts addPass(PM, createPromoteMemoryToRegister()); // Promote alloca's to regs - addPass(PM, createReassociatePass()); // Reassociate expressions + /* addPass(PM, createReassociatePass());*/ // Reassociate expressions addPass(PM, createInstructionCombiningPass()); // Combine silly seq's addPass(PM, createDeadInstEliminationPass()); // Kill InstCombine remnants addPass(PM, createLICMPass()); // Hoist loop invariants @@ -87,7 +88,7 @@ int main(int argc, char **argv) { // Parse the file now... M.reset(ParseAssemblyFile(InputFilename)); } catch (const ParseException &E) { - cerr << E.getMessage() << endl; + cerr << E.getMessage() << std::endl; return 1; } @@ -107,7 +108,7 @@ int main(int argc, char **argv) { OutputFilename += ".o"; } - std::ofstream Out(OutputFilename.c_str(), ios::out); + std::ofstream Out(OutputFilename.c_str(), std::ios::out); if (!Out.good()) { cerr << "Error opening " << OutputFilename << "!\n"; return 1; |