summaryrefslogtreecommitdiff
path: root/docs/ReleaseNotes.rst
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-11-15 20:40:58 +0000
committerAlp Toker <alp@nuanti.com>2013-11-15 20:40:58 +0000
commite22017e0b691ff02616e6a8e670b721d078d4bc9 (patch)
treea6268d34bd0e201a0a591aab1f000cf650829cf0 /docs/ReleaseNotes.rst
parentd378144e00212af69800ab9c1df8be8b339f086b (diff)
downloadclang-e22017e0b691ff02616e6a8e670b721d078d4bc9.tar.gz
clang-e22017e0b691ff02616e6a8e670b721d078d4bc9.tar.bz2
clang-e22017e0b691ff02616e6a8e670b721d078d4bc9.tar.xz
Revert "Using an invalid -O falls back on -O3 instead of an error"
Trying to fix test failures since earlier today. One of the tests added in this commit is outputting test/Driver/clang_f_opts.s which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are trying to run as a test case, causing failures. clang_f_opts.c: If -### doesn't emit the warning then this test probably shouldn't be in here in the first place. Frontend maybe? invalid-o-level.c: Running %clang_cc1 in the Driver tests doesn't make sense because -cc1 bypasses the driver. (I'm not reverting the commit that introduced this but please fix instead of keeping it this way.) Reverting to fix the build failures and also so that the tests can be thought out more thoroughly. This reverts commit r194817. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r--docs/ReleaseNotes.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 597d48142f..7d63744bdf 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -77,8 +77,7 @@ New Compiler Flags
- Clang no longer special cases -O4 to enable lto. Explicitly pass -flto to
enable it.
-- Clang no longer fails on >= -O5. Uses -O3 instead.
-- Command line "clang -O3 -flto a.c -c" and "clang -emit-llvm a.c -c"
+- Command line "clang -O3 -flto a.c -c" and "clang -emit-llvm a.c -c"
are no longer equivalent.
- Clang now errors on unknown -m flags (``-munknown-to-clang``),
unknown -f flags (``-funknown-to-clang``) and unknown