It looks to me like the language rules treat these the same for this type, but evidently GCC feels differently. This only matters under TSAN where SpinLock has a non-trivial destructor, and under C++20 where ABSL_CONST_INIT is implemented (as constinit) by gcc. Fixes #1253 PiperOrigin-RevId: 469806751 Change-Id: Ic01b0142101f361bc19c95f9f9474e635669c58d
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| civil_time.cc | Loading commit data... | |
| civil_time.h | Loading commit data... | |
| civil_time_benchmark.cc | Loading commit data... | |
| civil_time_test.cc | Loading commit data... | |
| clock.cc | Loading commit data... | |
| clock.h | Loading commit data... | |
| clock_benchmark.cc | Loading commit data... | |
| clock_test.cc | Loading commit data... | |
| duration.cc | Loading commit data... | |
| duration_benchmark.cc | Loading commit data... | |
| duration_test.cc | Loading commit data... | |
| format.cc | Loading commit data... | |
| format_benchmark.cc | Loading commit data... | |
| format_test.cc | Loading commit data... | |
| time.cc | Loading commit data... | |
| time.h | Loading commit data... | |
| time_benchmark.cc | Loading commit data... | |
| time_test.cc | Loading commit data... | |
| time_zone_test.cc | Loading commit data... |