This might have been fixed in trunk already, at least I can't repro for arm-v7a15. My fresh gcc is configured with
~/src/gcc-master/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=arm-v7a15-linux-gnueabi --prefix=/home/ygribov/install/gcc-master-arm-full --with-sysroot=/home/ygribov/install/gcc-master-arm-full/arm-v7a15-linux-gnueabi/sys-root/ --disable-libmudflap --disable-libssp --disable-nls --disable-libstdcxx-pch --with-interwork --with-mode=arm --with-fpu=vfpv3 --with-cpu=cortex-a15 --with-tune=cortex-a15 --with-float=softfp --enable-libgomp --enable-poison-system-directories --enable-long-long --enable-threads --enable-languages=c,c++ --enable-shared --with-gnu-as --with-gnu-ld --with-build-time-tools=/home/ygribov/install/gcc-master-arm-full --enable-checking CFLAGS='-g -O0' CXXFLAGS='-g -O0'
This might have been fixed in trunk already, at least I can't repro for arm-v7a15. My fresh gcc is configured with gcc-master/ configure --build= x86_64- pc-linux- gnu --host= x86_64- pc-linux- gnu --target= arm-v7a15- linux-gnueabi --prefix= /home/ygribov/ install/ gcc-master- arm-full --with- sysroot= /home/ygribov/ install/ gcc-master- arm-full/ arm-v7a15- linux-gnueabi/ sys-root/ --disable- libmudflap --disable-libssp --disable-nls --disable- libstdcxx- pch --with-interwork --with-mode=arm --with-fpu=vfpv3 --with- cpu=cortex- a15 --with- tune=cortex- a15 --with-float=softfp --enable-libgomp --enable- poison- system- directories --enable-long-long --enable-threads --enable- languages= c,c++ --enable-shared --with-gnu-as --with-gnu-ld --with- build-time- tools=/ home/ygribov/ install/ gcc-master- arm-full --enable-checking CFLAGS='-g -O0' CXXFLAGS='-g -O0'
~/src/