http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56162
Bug #: 56162 Summary: PASS->FAIL: g++.old-deja/g++.mike/pmf1.C -std=c++11 execution test (occurs 2 times) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: regression AssignedTo: unassig...@gcc.gnu.org ReportedBy: ktkac...@gcc.gnu.org CC: ja...@redhat.com Target: arm-none-eabi EXIT code 1 FAIL: g++.old-deja/g++.mike/pmf1.C -std=c+98 execution test If I enable the commented out printfs, I get: failed in Y::g, b = 1091555568 failed 1 tests sizeof(X) = 4, sizeof(Y) = 8, sizeof(MD) = 16 *** EXIT code 1 Bisection showed failure was introduced with revision 195470. PR c++/56104 * typeck.c (get_member_function_from_ptrfunc): Optimize if the dynamic type has no virtual functions. arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=./build/install/bin/arm-none-eabi-gcc COLLECT_LTO_WRAPPER=${DIR}/build/install/libexec/gcc/arm-none-eabi/4.8.0/lto-wrapper Target: arm-none-eabi Configured with: ${DIR}/gcc/configure --target=arm-none-eabi --prefix=${DIR}/build/install --with-gmp=${DIR}/build/host-tools --with-mpfr=${DIR}/build/host-tools --with-mpc=${DIR}/build/host-tools --with-pkgversion=unknown --disable-shared --disable-nls --disable-threads --disable-tls --enable-checking=yes --enable-languages=c,c++,fortran --with-newlib --with-fpu=neon-vfpv4 --with-arch=armv7-a Thread model: single gcc version 4.8.0 20130125 (experimental) (unknown)