https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84043
--- Comment #2 from Johan Alfredsson <sduvan.gcc at gmail dot com> --- bash> g++ -v Using built-in specs. COLLECT_GCC=/usr/local/products/gcc/7.2.0/bin/g++ COLLECT_LTO_WRAPPER=/usr/local/products/gcc/7.2.0/lib/gcc/x86_64-suse-linux/7.2.0/lto-wrapper Target: x86_64-suse-linux Configured with: ../../gcc-7.2.0/configure --enable-languages=c,c++,fortran --enable-targets=x86_64-suse-linux,i686-suse-linux --prefix=/usr/local/products/gcc/7.2.0 --with-gnu-as --with-as=/usr/local/products/gcc/binutils-2.26/bin/as --with-gnu-ld --with-ld=/usr/local/products/gcc/binutils-2.26/bin/ld.bfd --with-gmp=/usr/local/products/gcc/gmp-6.1.0 --with-mpfr=/usr/local/products/gcc/mpfr-3.1.4 --with-mpc=/usr/local/products/gcc/mpc-1.0.3 --enable-threads=posix --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=pool x86_64-suse-linux Thread model: posix gcc version 7.2.0 (GCC) to reproduce the problem g++ -fsanitize=alignment bug.C -o bug