diff options
| author | 2022-02-14 11:19:26 -0800 | |
|---|---|---|
| committer | 2022-02-15 17:27:30 +0000 | |
| commit | 8a4804f53bf5c2b99314d712e9ad11c7d7ed6e47 (patch) | |
| tree | 59fcf26c34e5c2eab90082d8fe8277ffba84d0ee | |
| parent | e51b2377f5fab374f42c0ec80654f27329ee65ab (diff) | |
Reland "Switch to clang-r445002"
Bug: http://b/214080353
Bug: http://b/218805949
Reland switch to clang-r445002. The math test failures are fixed by
disabling FMA (-ffp-contract=off).
Test: - atest -a libcore.java.math.RunCSVTestsStrict
- select bionic tests on go/abtd
- atest -a \
gatm_algo_test:gatm_algo_test.TestAllGatmTestData/GatmAlgoTest#VerifyOutputValues/05temporaltracing_5frames_1lux_h_drc_free
- presubmit
Change-Id: I8383edb116caa63884507932406a5f49a223d006
| -rw-r--r-- | cc/config/global.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cc/config/global.go b/cc/config/global.go index 48a8b4805..400be31d9 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -107,6 +107,9 @@ var ( // This macro allows the bionic versioning.h to indirectly determine whether the // option -Wunguarded-availability is on or not. "-D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__", + + // Turn off FMA which got enabled by default in clang-r445002 (http://b/218805949) + "-ffp-contract=off", } commonGlobalConlyflags = []string{} @@ -238,6 +241,8 @@ var ( // http://b/197240255 "-Wno-unused-but-set-variable", "-Wno-unused-but-set-parameter", + // http://b/215753485 + "-Wno-bitwise-instead-of-logical", } // Extra cflags for external third-party projects to disable warnings that @@ -282,8 +287,8 @@ var ( // prebuilts/clang default settings. ClangDefaultBase = "prebuilts/clang/host" - ClangDefaultVersion = "clang-r437112b" - ClangDefaultShortVersion = "14.0.1" + ClangDefaultVersion = "clang-r445002" + ClangDefaultShortVersion = "14.0.2" // Directories with warnings from Android.bp files. WarningAllowedProjects = []string{ |