Commit 52b435da authored by hans's avatar hans Committed by Commit bot

Drop -fno-slp-vectorize from the Clang build -- gn edition

The GYP build was updated in
https://crrev.com/5926b3d223f5c183b3341a01b522875aceae2ed9

BUG=none
TBR=brettw

Review URL: https://codereview.chromium.org/585693002

Cr-Commit-Position: refs/heads/master@{#295632}
parent 7deb2766
...@@ -105,23 +105,15 @@ config("compiler") { ...@@ -105,23 +105,15 @@ config("compiler") {
} }
} }
if (is_clang) { if (is_clang && is_debug) {
cflags += [ # Allow comparing the address of references and 'this' against 0
# TODO(thakis): Remove once http://llvm.org/PR20354 is fixed # in debug builds. Technically, these can never be null in
# and the fix is in chromium. # well-defined C/C++ and Clang can optimize such checks away in
"-fno-slp-vectorize", # release builds, but they may be used in asserts in debug builds.
cflags_cc += [
"-Wno-undefined-bool-conversion",
"-Wno-tautological-undefined-compare",
] ]
if (is_debug) {
# Allow comparing the address of references and 'this' against 0
# in debug builds. Technically, these can never be null in
# well-defined C/C++ and Clang can optimize such checks away in
# release builds, but they may be used in asserts in debug builds.
cflags_cc += [
"-Wno-undefined-bool-conversion",
"-Wno-tautological-undefined-compare",
]
}
} }
if (is_clang && !is_win) { if (is_clang && !is_win) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment