diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2013-11-11 20:51:44 +0000 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-11-11 20:51:44 +0000 |
| commit | e293b1a8d8e0ca5c24117655b2191c4e46afba57 (patch) | |
| tree | f3217c85225e00524519a1aa126222ebd97c51dd /clang/lib/Driver | |
| parent | cc645758c71dc20c223e1464c4d1e8def4c64679 (diff) | |
| download | bcm5719-llvm-e293b1a8d8e0ca5c24117655b2191c4e46afba57.tar.gz bcm5719-llvm-e293b1a8d8e0ca5c24117655b2191c4e46afba57.zip | |
Revert "Using an invalid -O falls back on -O3 instead of an error"
This reverts commit r194403.
Was breaking too many tests...
llvm-svn: 194420
Diffstat (limited to 'clang/lib/Driver')
| -rw-r--r-- | clang/lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 87ec76350e0..c69ad53360f 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -2727,7 +2727,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, // preprocessed inputs and configure concludes that -fPIC is not supported. Args.ClaimAllArgs(options::OPT_D); - // Manually translate -O4 to -O3; let clang fall back on -O3 for others + // Manually translate -O4 to -O3; let clang reject others. if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { if (A->getOption().matches(options::OPT_O4)) { CmdArgs.push_back("-O3"); |

