https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70132
--- Comment #4 from Andrew Roberts <andrewm.roberts at sky dot com> --- Patch tested OK, on Raspberry Pi 3, on Arch Linux using latest gcc 6 snapshot: /usr/local/gcc-6.0.0/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/local/gcc-6.0.0/bin/gcc COLLECT_LTO_WRAPPER=/usr/local/gcc-6.0.0/libexec/gcc/armv7l-unknown-linux-gnueabihf/6.0.0/lto-wrapper Target: armv7l-unknown-linux-gnueabihf Configured with: ../gcc-6.0.0/configure --prefix=/usr/local/gcc-6.0.0 --program-suffix= --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --target=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --disable-bootstrap Thread model: posix gcc version 6.0.0 20160306 (experimental) (GCC)