]> granicus.if.org Git - clang/commit
Warn that -O4 is the same as -O3.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 27 Aug 2013 16:58:15 +0000 (16:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 27 Aug 2013 16:58:15 +0000 (16:58 +0000)
commit55ee1ebeb0b9f7b26919c325582f1e6a05df4ec8
tree23e0394bfee8ca02851de4b05f2cce5b45e10c56
parent99e0df4ab60c5fa4afd2bf63b896fd4f88792127
Warn that -O4 is the same as -O3.

We error on -O5 and higher. While it is tempting to do the same for -O4, I
agree with Jordan Rose: we should warn for a release at least first.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189369 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/clang_f_opts.c