My bad... I probably should have sent this with the original report.
# g++ -Wall -c test.cxx
test.cxx:13:9: warning: #pragma GCC target is not supported for this
machine [-Wpragmas]
#pragma GCC pop_options
^
**********
# gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/5/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian
5.2.1-21' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
--prefix=/usr --program-suffix=-5 --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libitm --disable-libquadmath --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-armhf/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-armhf
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-armhf
--with-arch-directory=arm
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a
--with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb
--enable-checking=release --build=arm-linux-gnueabihf
--host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 5.2.1 20151003 (Debian 5.2.1-21)
**********
# apt-cache show gcc
Package: gcc
Source: gcc-defaults (1.145)
Version: 4:5.2.1-4
Installed-Size: 41
Maintainer: Debian GCC Maintainers <[email protected]>
Architecture: armhf
Provides: c-compiler
Depends: cpp (>= 4:5.2.1-4), gcc-5 (>= 5.2.1-13~)
Recommends: libc6-dev | libc-dev
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake,
libtool, flex, bison, gdb, gcc-doc
Conflicts: gcc-doc (<< 1:2.95.3)
Description-en: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C compiler.
Description-md5: c7efd71c7c651a9ac8b2adf36b137790
Build-Essential: yes
Tag: devel::compiler, devel::lang:c, interface::commandline,
role::metapackage, role::program, suite::gnu,
works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gcc_5.2.1-4_armhf.deb
Size: 5224
MD5sum: 39db011e121fc859d45bc134257fc977
SHA1: d2d77ceca803db1d23f38197101e5e0aa40c4775
SHA256: 0d1af3a0cb11be39fb67c39f4bcb24dce11d6b2fb251ace99ca487cd66d32510