Don't use gcc 4.8 workaround in the hash test with clang
This is unnecessary and just results in a warning about an unknown attribute when building with clang.
This commit is contained in:
parent
7a2df9534c
commit
9910013c23
@ -377,7 +377,7 @@ void MakeKeyValuePair(size_t i, size_t count, T*& key, ValueT& value)
|
||||
// the test
|
||||
template <class HashMapT>
|
||||
void
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
// At least g++ 4.8.2 (included in Ubuntu 14.04) is known to miscompile the
|
||||
// code in this function and make all the loops below infinite when using -O2,
|
||||
// so we need to turn off optimizations for it to allow the tests to run at
|
||||
|
Loading…
Reference in New Issue
Block a user