https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80593
Daniel Black <daniel.black at au dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.black at au dot ibm.com
--- Comment #10 from Daniel Black <daniel.black at au dot ibm.com> ---
FYI I have tested from the gcc master (x86_64-pc-linux-gnu-g++ (GCC) 8.0.0
20170605 (experimental)) and it doesn't identify the the following bit of
rocksdb code as a warning where previously it did. So fixed for me on master.
./db/write_thread.h:227:78: error: dereferencing type-punned pointer will break
strict-aliasing rules [-Werror=strict-aliasing]
return
*static_cast<std::mutex*>(static_cast<void*>(&state_mutex_bytes));
ref: https://github.com/facebook/rocksdb/issues/2382
Still fails using the gcc at the head of the gcc-7-branch however