Skip to content
Snippets Groups Projects
  1. Jan 18, 2014
  2. Jan 16, 2014
  3. Jan 15, 2014
  4. Jan 14, 2014
  5. Jan 11, 2014
  6. Jan 10, 2014
  7. Jan 07, 2014
  8. Jan 01, 2014
  9. Dec 20, 2013
  10. Dec 13, 2013
  11. Dec 12, 2013
  12. Dec 11, 2013
  13. Dec 10, 2013
  14. Dec 09, 2013
  15. Dec 04, 2013
  16. Dec 03, 2013
  17. Nov 30, 2013
  18. Nov 26, 2013
  19. Nov 20, 2013
  20. Nov 18, 2013
  21. Nov 15, 2013
    • Alp Toker's avatar
      Revert "Using an invalid -O falls back on -O3 instead of an error" · e22017e0
      Alp Toker authored
      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
      e22017e0
    • Sylvestre Ledru's avatar
      Using an invalid -O falls back on -O3 instead of an error · eb4d7c3f
      Sylvestre Ledru authored
      Summary:
      Currently with clang:
      $ clang -O20 foo.c
      error: invalid value '20' in '-O20'
      
      With the patch:
      $ clang -O20 foo.c
      warning: optimization level '-O20' is unsupported; using '-O3' instead.
      1 warning generated.
      
      This matches the gcc behavior (with a warning added)
      
      Pass all tests:
      Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
      Testing Time: 94.14s
        Expected Passes    : 6721
        Expected Failures  : 20
        Unsupported Tests  : 17
      
      (which was not the case of http://llvm-reviews.chandlerc.com/D2125)
      
      Reviewers: chandlerc, rafael, rengolin, hfinkel
      
      Reviewed By: rengolin
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2152
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194817 91177308-0d34-0410-b5e6-96231b3b80d8
      eb4d7c3f
  22. Nov 11, 2013
Loading