https://github.com/ccache/ccache/pull/800 --- a/cmake/StdAtomic.cmake +++ b/cmake/StdAtomic.cmake @@ -10,6 +10,7 @@ set( int main() { std::atomic x; + ++x; (void)x.load(); return 0; }