https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99965
--- Comment #6 from Juan Lucas Rey <juanlucasrey at gmail dot com> --- I get the following with -fsanitize=alignment bug.cpp:29:21: runtime error: store to misaligned address 0x000002249044 for type 'char *', which requires 8 byte alignment 0x000002249044: note: pointer points here 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00