summaryrefslogtreecommitdiff
path: root/lib/Driver/Types.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-12-18 23:07:04 +0000
committerReid Kleckner <reid@kleckner.net>2014-12-18 23:07:04 +0000
commitbf1b608af462446ae0caa5c295d0fcf2a1f361c7 (patch)
tree9994806eacf8791425e68b887898b6c56367a71a /lib/Driver/Types.cpp
parentb6708a60e4fe7d0b16d1a07d879a8107e1e06528 (diff)
downloadclang-bf1b608af462446ae0caa5c295d0fcf2a1f361c7.tar.gz
Revert "Change -save-temps to emit unoptimized bitcode files."
This reverts commit r224503. It broke compilation of fortran through the Clang driver. Previously `clang -c t.f` would invoke `gcc t.f` and `clang -cc1as`, but now it tries to call `clang -cc1 t.f` which fails for obvious reasons. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Types.cpp')
-rw-r--r--lib/Driver/Types.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Driver/Types.cpp b/lib/Driver/Types.cpp
index 6ee764c64e..4a22dcff46 100644
--- a/lib/Driver/Types.cpp
+++ b/lib/Driver/Types.cpp
@@ -203,7 +203,6 @@ void types::getCompilationPhases(ID Id, llvm::SmallVectorImpl<phases::ID> &P) {
} else {
if (!onlyAssembleType(Id)) {
P.push_back(phases::Compile);
- P.push_back(phases::Backend);
}
P.push_back(phases::Assemble);
}