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. llvm-svn: 189369
Showing
- clang/include/clang/Basic/DiagnosticDriverKinds.td 1 addition, 0 deletionsclang/include/clang/Basic/DiagnosticDriverKinds.td
- clang/include/clang/Driver/Options.td 1 addition, 1 deletionclang/include/clang/Driver/Options.td
- clang/lib/Driver/Tools.cpp 11 additions, 3 deletionsclang/lib/Driver/Tools.cpp
- clang/test/Driver/clang_f_opts.c 1 addition, 0 deletionsclang/test/Driver/clang_f_opts.c
Loading
Please register or sign in to comment